Docs: Replace `data-src` attribute with `src` in highlighted code; fixes #18558

[skip sauce]
This commit is contained in:
Chris Rebert 2015-12-12 16:01:05 -08:00
parent 34fe668af2
commit d4d146dbe3
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ eos
end
def remove_holderjs(code)
code = code.gsub(/"holder.js.+?"/, '"..."')
code = code.gsub(/data-src="holder.js.+?"/, 'src="..."')
end
def render_rouge(code)