diff --git a/core/modules/macros/reveal.js b/core/modules/macros/reveal.js index 253ecbec6..5be73ca46 100644 --- a/core/modules/macros/reveal.js +++ b/core/modules/macros/reveal.js @@ -100,7 +100,7 @@ exports.handleEvent = function(event) { exports.executeMacro = function() { this.stateTextRef = this.params.state; if(this.hasParameter("qualifyTiddlerTitles")) { - this.stateTextRef = "(" + this.parents.join(",") + "," + this.tiddlerTitle + ")" + this.stateTextRef; + this.stateTextRef = this.stateTextRef + "(" + this.parents.join(",") + "," + this.tiddlerTitle + ")"; } this.readState(); var attributes = { diff --git a/core/modules/utils/dom/popup.js b/core/modules/utils/dom/popup.js index 37157e18a..74ce1c590 100644 --- a/core/modules/utils/dom/popup.js +++ b/core/modules/utils/dom/popup.js @@ -57,7 +57,7 @@ Popup.prototype.triggerPopup = function(options) { // Get the textref of the popup state tiddler var textRef = options.textRef; if(options.qualifyTiddlerTitles === "yes") { - textRef = "(" + options.contextParents.join(",") + "," + options.contextTiddlerTitle + ")" + textRef; + textRef = textRef + "(" + options.contextParents.join(",") + "," + options.contextTiddlerTitle + ")"; } // Get the current popup state tiddler var value = options.wiki.getTextReference(textRef,"",options.contextTiddlerTitle); diff --git a/core/templates/SearchResultTemplate.tid b/core/templates/SearchResultTemplate.tid index 96078c962..a8fbc129e 100644 --- a/core/templates/SearchResultTemplate.tid +++ b/core/templates/SearchResultTemplate.tid @@ -3,14 +3,14 @@ title: $:/templates/SearchResultTemplate {{tw-search-result{