diff options
| author | Chris Rebert <[email protected]> | 2015-12-12 16:33:26 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-12-12 16:33:26 -0800 |
| commit | 7c93a0e8583330bf59262195201926a2b650910a (patch) | |
| tree | 9a17574350a0dcee82299ae7d2dcee4e7273603f /docs | |
| parent | 6da5fa00e8877858e4e25e6a317908d2e4435035 (diff) | |
| parent | d4d146dbe3780dddc8ae975761f9cc37d69a15a1 (diff) | |
| download | bootstrap-7c93a0e8583330bf59262195201926a2b650910a.tar.xz bootstrap-7c93a0e8583330bf59262195201926a2b650910a.zip | |
Merge pull request #18561 from twbs/fix-18558
Docs: Replace `data-src` attribute with `src` in highlighted code
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_plugins/highlight_alt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_plugins/highlight_alt.rb b/docs/_plugins/highlight_alt.rb index 1fc9f5d2a..d1ed9ccff 100644 --- a/docs/_plugins/highlight_alt.rb +++ b/docs/_plugins/highlight_alt.rb @@ -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) |
