jdlrobson/TiddlyWikiPlugins — pull request #2 by pmario (2012-03-02 21:10:45+00:00)
Title: TiddlySpaceIntraSpaceInclusion regExp fix

Hi Jon,

`story.getTiddlerText('myTiddler *(@space)*')` causes the IntraSpaceInclusion regExp to detect a `tiddler@space` link, which is wrong.

If a plugin calls `story.getTiddlerText('myTiddler *(@space)* some more text')` and tries to rerender a tiddler, we have a nice endless loop.

Using the same regExp for `tiddler@space and [[tiddler]]@space`, as TiddlySpaceLinkPlugin seems to fix the bug.

Also removed the `refreshAllTiddlers()` and added detection to use `refreshTiddler()` which is faster.

As I don't know, how this plugin is deployed to TiddlySpace, I create a pull request here.

-----

There is a MTC at: http://aassddff.tiddlyspace.com/

@cdent: just an info.