0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Merge pull request #18561 from twbs/fix-18558

Docs: Replace `data-src` attribute with `src` in highlighted code
This commit is contained in:
Chris Rebert 2015-12-12 16:33:26 -08:00
commit 7c93a0e858

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)