entities auto fix added
This commit is contained in:
parent
68f8c9361e
commit
d4d9c4bfab
2 changed files with 7 additions and 2 deletions
|
@ -492,8 +492,13 @@ var Reveal = (function(){
|
|||
var node = nodes[i];
|
||||
|
||||
if( node.textContent && !node.querySelector( 'img' ) && ( !node.className || !node.classList.contains( node, 'roll' ) ) ) {
|
||||
var span = document.createElement('span');
|
||||
span.setAttribute('data-title', node.text);
|
||||
span.innerHTML = node.innerHTML;
|
||||
|
||||
node.classList.add( 'roll' );
|
||||
node.innerHTML = '<span data-title="'+ node.text +'">' + node.innerHTML + '</span>';
|
||||
node.innerHTML = '';
|
||||
node.appendChild(span);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
js/reveal.min.js
vendored
2
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue