TiddlyWiki.org

Changeset 1810

Show
Ignore:
Timestamp:
11/03/07 22:06:35 (1 year ago)
Author:
JeremyRuston
Message:

Fixed up problems with using tiddlywiki as a PHP template (ticket #304)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/core/js/Formatter.js

    r1496 r1810  
    367367        name: "image", 
    368368        match: "\\[[<>]?[Ii][Mm][Gg]\\[", 
    369         lookaheadRegExp: /\[(<?)(>?)[Ii][Mm][Gg]\[(?:([^\|\]]+)\|)?([^\[\]\|]+)\](?:\[([^\]]*)\])?\]/mg, 
     369        //# [<] sequence below is to avoid lessThan-questionMark sequence so TiddlyWikis can be included in PHP files 
     370        lookaheadRegExp: /\[([<]?)(>?)[Ii][Mm][Gg]\[(?:([^\|\]]+)\|)?([^\[\]\|]+)\](?:\[([^\]]*)\])?\]/mg, 
    370371        handler: function(w) 
    371372        { 
  • Trunk/core/js/Lingo.js

    r1807 r1810  
    6464        mainSaved: "Main TiddlyWiki file saved", 
    6565        mainFailed: "Failed to save main TiddlyWiki file. Your changes have not been saved", 
    66         macroError: "Error in macro <<%0>>", 
    67         macroErrorDetails: "Error while executing macro <<%0>>:\n%1", 
     66        macroError: "Error in macro <<\%0>>", 
     67        macroErrorDetails: "Error while executing macro <<\%0>>:\n%1", 
    6868        missingMacro: "No such macro", 
    6969        overwriteWarning: "A tiddler named '%0' already exists. Choose OK to overwrite it",