aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-12-12 16:01:05 -0800
committerChris Rebert <[email protected]>2015-12-12 16:01:06 -0800
commitd4d146dbe3780dddc8ae975761f9cc37d69a15a1 (patch)
tree7ecf5cfd39a1889a0b7a784fc05fc83e7c5704c7 /docs
parent34fe668af2dadd7a4a42e89d9c51d3f3b4bd0190 (diff)
downloadbootstrap-d4d146dbe3780dddc8ae975761f9cc37d69a15a1.tar.xz
bootstrap-d4d146dbe3780dddc8ae975761f9cc37d69a15a1.zip
Docs: Replace `data-src` attribute with `src` in highlighted code; fixes #18558
[skip sauce]
Diffstat (limited to 'docs')
-rw-r--r--docs/_plugins/highlight_alt.rb2
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)