TiddlyWiki.org

Ticket #407: ticket407.patch

File ticket407.patch, 1.0 kB (added by MartinBudden, 10 months ago)
  • js/Formatter.js

    old new  
    333333                                return; 
    334334                        } 
    335335                } 
    336                 if(w.autoLinkWikiWords == true || store.isShadowTiddler(w.matchText)) { 
     336                if(w.autoLinkWikiWords || store.isShadowTiddler(w.matchText)) { 
    337337                        var link = createTiddlyLink(w.output,w.matchText,false,null,w.isStatic,w.tiddler); 
    338338                        w.outputText(link,w.matchStart,w.nextMatch); 
    339339                } else { 
  • js/Wikifier.js

    old new  
    9191        this.output = null; 
    9292        this.formatter = formatter; 
    9393        this.nextMatch = 0; 
    94         this.autoLinkWikiWords = tiddler && tiddler.autoLinkWikiWords()
     94        this.autoLinkWikiWords = tiddler && tiddler.autoLinkWikiWords() == false ? false : true
    9595        this.highlightRegExp = highlightRegExp; 
    9696        this.highlightMatch = null; 
    9797        this.isStatic = false;