Skip to content

Commit

Permalink
Fix not to escape html in in-page headers (#10130)
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored and k8s-ci-robot committed Aug 30, 2018
1 parent 3769a1b commit 964cb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/docs/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
headings.forEach(function(heading){
if(heading.id){
var a = document.createElement('a');
a.text = heading.innerHTML;
a.innerHTML = heading.innerHTML;
a.href = '#'+heading.id;
a.classList.add('inpage_heading');
heading.innerHTML = '';
Expand Down

0 comments on commit 964cb26

Please sign in to comment.