Changeset 1048

Show
Ignore:
Timestamp:
11/27/06 03:40:17 (23 months ago)
Author:
JeremyRuston
Message:

Fixed problem with highlightify() not passing tiddler parameter to wikifier (ticket #244)

Location:
Trunk/core/js
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Trunk/core/js/Macros.js

    r1047 r1048  
    615615                                { 
    616616                                case undefined: 
    617                                         highlightify(value,place,highlightHack); 
     617                                        highlightify(value,place,highlightHack,tiddler); 
    618618                                        break; 
    619619                                case "link": 
  • Trunk/core/js/Wikifier.js

    r712 r1048  
    5858 
    5959// Highlight plain text into an element 
    60 function highlightify(source,output,highlightRegExp) 
     60function highlightify(source,output,highlightRegExp,tiddler) 
    6161{ 
    6262        if(source && source != "") 
    6363                { 
    64                 var wikifier = new Wikifier(source,formatter,highlightRegExp); 
     64                var wikifier = new Wikifier(source,formatter,highlightRegExp,tiddler); 
    6565                wikifier.outputText(output,0,source.length); 
    6666                }