mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +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)
|
||||
.forEach(function(text){
|
||||
// skip stuff...
|
||||
if(text.parentNode.nodeName == 'a'
|
||||
|| text.parentNode.getAttribute('wikiwords') == 'no'){
|
||||
if(text.parentNode.nodeName.toLowerCase() == 'a'
|
||||
|| (text.parentNode.getAttribute('wikiwords') ?? '').toLowerCase() == 'no'){
|
||||
return }
|
||||
var t = text.nodeValue
|
||||
var n = setWikiWords(text.nodeValue)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user