mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-16 08:01:39 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
65d0eb4559
commit
a0aace804c
@ -83,8 +83,8 @@ function(elem){
|
|||||||
iterText(elem)
|
iterText(elem)
|
||||||
.forEach(function(text){
|
.forEach(function(text){
|
||||||
// skip stuff...
|
// skip stuff...
|
||||||
if(text.parentNode.nodeName == 'a'
|
if(text.parentNode.nodeName.toLowerCase() == 'a'
|
||||||
|| text.parentNode.getAttribute('wikiwords') == 'no'){
|
|| (text.parentNode.getAttribute('wikiwords') ?? '').toLowerCase() == 'no'){
|
||||||
return }
|
return }
|
||||||
var t = text.nodeValue
|
var t = text.nodeValue
|
||||||
var n = setWikiWords(text.nodeValue)
|
var n = setWikiWords(text.nodeValue)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user