#2137 closed Bug (worksforme)
string convert error "<span class="
| Reported by: | smilodon | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Project : MediaWiki+FCKeditor | Version: | SVN (FCKeditor) - Retired |
| Keywords: | fixed | Cc: |
Description
If I place a template string:
[http://xmswid/bugzilla/show_bug.cgi?id={{{id}}} Bug{{{id}}}]
it will be converted to
[http://hello/bugzilla/show_bug.cgi?id=<span class= {{{id}}}">Bug{{{id}}}]
after preview or save.
tested in http://mediawiki.fckeditor.net/index.php?title=Sandbox
Thanks!
Attachments (1)
Change History (7)
comment:1 Changed 18 years ago by
| Keywords: | Confirmed added |
|---|
Changed 18 years ago by
| Attachment: | 2137.patch added |
|---|
comment:2 Changed 18 years ago by
| Keywords: | HasPatch added |
|---|
I'm attaching a patch proposal. The main idea is that arguments shouldn't be processed like templates, but simply left as it is.
I'm just wondering whether leaving everything between
{{{ and }}} will not break something else? That's why I'm not commitiing it yet.
If possible, test this patch and let us know if it works.
comment:3 Changed 18 years ago by
I just test this patch,and find it is ok now!
Thanks!
And will it be merge to new release?
comment:4 Changed 17 years ago by
This problem doesn't seem to be limited to templates, e.g., if I embed magic words into links this happens too.
{{SITENAME}}:About? will get converted the same way. The patch does not seem to fix that.
comment:5 Changed 17 years ago by
| Keywords: | Confirmed HasPatch removed |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Can't reproduce it in the latest release.

Confirmed on both IE and FF2. Also happens when switching back and forth from wikitext to wysiwyg view.