• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I.e. when editing Main.WebHome, this:

<form action="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%"}%/">

is changed into

<form action="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%INTURLENCODE{">

Looks like the scan for parameters to HTML tags cuts off early (at first apostrophe) - perhaps it needs more intelligence when it sees TML stuff?

Test Case

Edit Main.WebHome in beta 3.

Wysiwyg plugin used: The one attached to Plugins.TWiki (version 1.1).


Once again I have to throw my hands up in horror and say "WysiwygPlugin is for editing topic text". If you want to edit inline HTML, then use the plain text editor. Even if WysiwygPlugin were able to untangle the TWiki variables in your example, then Kupu is going to be pretty unhappy with the form tag.

Maybe some day.

CC

Some day has been and gone; this should be fixed now, as all HTML tags are lifted out and not replaced until the conversion is complete.

CC

If I change the line in Main.WebHome to read

<form action='%SCRIPTURLPATH{"search"}%/%INTURLENCODE{"%WEB%"}%/'>

(changing " to ' for the form action tag) it survives WYSIWYG trip now (whee!).

As the web homes are probably going to see some WYSIWYG action, I believe it's OK committing this simple change for the (_)default webs?

-- SP

I can't see why not. The only argument aginst it is if the webs are going to be viewed in Cairo (forward compatibility) which is just getting a bit too extreme.

We can remove the calls to the redundant INTURLENCODE at the same time.

SVN 8302

CC

SVN 8318 (" to ').

-- SP

ItemTemplate
Summary HTML parameters with TML variables are scrubbed
ReportedBy SteffenPoulsen 11 Oct 2005
SVN Range

AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins 8302 8303 8318
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-01-15 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback