From: Chris Rebert Date: Sun, 13 Dec 2015 00:01:05 +0000 (-0800) Subject: Docs: Replace `data-src` attribute with `src` in highlighted code; fixes #18558 X-Git-Tag: v4.0.0-alpha.3~495^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18561%2Fhead;p=thirdparty%2Fbootstrap.git Docs: Replace `data-src` attribute with `src` in highlighted code; fixes #18558 [skip sauce] --- diff --git a/docs/_plugins/highlight_alt.rb b/docs/_plugins/highlight_alt.rb index 1fc9f5d2a8..d1ed9ccff0 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)