diff options
| author | Chris Rebert <[email protected]> | 2015-12-12 16:01:05 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-12-12 16:01:06 -0800 |
| commit | d4d146dbe3780dddc8ae975761f9cc37d69a15a1 (patch) | |
| tree | 7ecf5cfd39a1889a0b7a784fc05fc83e7c5704c7 | |
| parent | 34fe668af2dadd7a4a42e89d9c51d3f3b4bd0190 (diff) | |
| download | bootstrap-d4d146dbe3780dddc8ae975761f9cc37d69a15a1.tar.xz bootstrap-d4d146dbe3780dddc8ae975761f9cc37d69a15a1.zip | |
Docs: Replace `data-src` attribute with `src` in highlighted code; fixes #18558
[skip sauce]
| -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) |
