Description

I had created some links in Text mode. When i click on those links, then links open in new window. I used simply following wiki code for that.

[[http://www.google.com|searchEngine|target="_blank"]]

When i change my mode during editing(Text-->Gui-->Text) then this link become like this.

[[http://www.google.com|searchEngine]]

Steps to reproduce

Example

Component selection

Details

MoinMoin Version

1.8.6 and 1.9.1

OS and Version

vista

Browser and Version

IE8

Python Version

2.6

Server Setup

Apache/2.2.13 (Win32) mod_ssl/2.2.13 OpenSSL/0.9.8k mod_wsgi/2.6 Python/2.6.2 mod_auth_sspi/1.0.4

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

english

Workaround

I had a similary problem with custom table attributs. for example write  ||<tableid=myId> Table ||  , and save it via the gui it was removed. If you hack into the moinmoin sourcecode I found a solution for me: http://moinmo.in/FeatureRequests/SortableTables#Table_Sorting_JavaScript So you may checkout the MoinMoin 1.9 Source.

IMHO it's not a bug - just the developer defined witch properties are save to use. The main problem is that the gui has maybe no input field for "your" custom attribute... so not much use if you like the gui editor :-)


I tried to get rid of this problem but i was not successful. If somebody have solved this problem then please let me know, because it is really annoying.

[11:03] <dreimark> ok, if you wouln not need it for the gui editor you could use it as http://paste.pocoo.org/show/354968/
[11:04] <dreimark> also you could Include such small stuff into a page where you want to edit with the que editor
[11:04] <dreimark> needs just more subpages
[11:05] <Bangi> let me try this stuff
[11:05] <dreimark> and may be an Include patch for not doing a line break
[11:05] <dreimark> and may be an Include patch for not doing a line break
[11:12] <Bangi> Thanks dreimark. i think now my users can use this stuff which you mentioned above. 

Example:-

{{{#!html
<a href="http://aktuell.de.selfhtml.org/" target="_blank">SELFHTML aktuell</a> <BR>

Output:-

SELFHTML aktuell

Discussion

If there is any workaround then please let me know. I shall be thankful to you.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/GuiToText (last edited 2011-03-17 12:04:26 by ReimarBauer)