Browse Source

Merge pull request #104 from spank79/patch-1

updated renderer example for vimeo
pull/106/head
Vitaly Puzrin 10 years ago
parent
commit
98b0e5ff76
  1. 2
      docs/architecture.md

2
docs/architecture.md

@ -118,7 +118,7 @@ var defaultRender = md.renderer.rules.image,
md.renderer.rules.image = function (tokens, idx, options, env, self) {
var token = tokens[idx],
aIndex = token.attrIdx('href');
aIndex = token.attrIndex('src');
if (vimeoRE.test(token.attrs[aIndex][1])) {

Loading…
Cancel
Save