Changes for page For Developers


From version 20.1
edited by Artur
on 2025/09/30 11:08
Change comment: There is no comment for this version
To version 20.2
edited by Artur
on 2025/10/10 22:37
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -71,10 +71,11 @@
71 71   if (pop) {
72 72   var $tip = pop.tip();
73 73   $tip.addClass('ttl-preview-popover');
74 + var resp = ttlText.result;
74 74   $tip.find('.popover-body, .popover-content')
75 75   .html(
76 76   '<pre style="white-space: pre-wrap; font-family: monospace; margin:0;font-size:85%;">' +
77 - $('<div>').text(ttlText).html() +
78 + $('<div>').text(resp).html() +
78 78   '</pre>'
79 79   );
80 80   }