Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
7c93a0e8
Commit
7c93a0e8
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #18561 from twbs/fix-18558
Docs: Replace `data-src` attribute with `src` in highlighted code
parents
6da5fa00
d4d146db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/_plugins/highlight_alt.rb
+1
-1
docs/_plugins/highlight_alt.rb
with
1 addition
and
1 deletion
+1
-1
docs/_plugins/highlight_alt.rb
+
1
-
1
View file @
7c93a0e8
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets