0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

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

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)