Commit 7c93a0e8 authored by Chris Rebert's avatar Chris Rebert
Browse files

Merge pull request #18561 from twbs/fix-18558

Docs: Replace `data-src` attribute with `src` in highlighted code
parents 6da5fa00 d4d146db
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment