Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v
diff -u -r1.284.2.23 -r1.284.2.24
--- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 9 Aug 2019 08:29:28 -0000 1.284.2.23
+++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 15 Aug 2019 10:21:44 -0000 1.284.2.24
@@ -1866,7 +1866,6 @@
}
function calc_wiki_image_links_to_image_tags(path, data) {
- // path = path.replace(/:/ig,"%3a");
var regex_wikilink = new RegExp('(\\[\\[.SELF./image:)(.*?)(\\]\\])', 'g');
data = data.replace(regex_wikilink,'');
return data
@@ -2067,7 +2066,6 @@
function calc_wiki_image_links_to_image_tags(path, text) {
// console.log('path = <' + path + '>');
- //path = path.replace(/:/ig,"%3a");
var regex_wikilink = new RegExp('(\\[\\[.SELF./image:)(.*?)(\\]\\])', 'g');
text = text.replace(regex_wikilink,'');
return text;