Re: [pmwiki-users] Retain markup expressions inside input and textareas

2008-12-29 Thread DaveG
Hans wrote: > Sunday, December 28, 2008, 4:30:27 AM, Petko Yotov wrote: > Dave, I don't know if this is of use to you: > > FoxForum (in foxforum.php) uses a custom PTV markup > (::var:multiline value::) for posting text area content > including directives as a PTV. > Defined like this: > > # ad

Re: [pmwiki-users] Retain markup expressions inside input and textareas

2008-12-28 Thread DaveG
Thanks for taking the time to respond Petko. Petko Yotov wrote: > Allowing users to add (:directives:) may be risky, they could add > (:noaction:), (:noleft:), (:noheader:), (:notitle:), (:redirect SomeWhere:), > (:linebreaks:) and other possibly dangerous / defacing markups like (:if > false:)

Re: [pmwiki-users] Retain markup expressions inside input and textareas

2008-12-27 Thread DaveG
DaveG wrote: > Docs and code suggest that $PmFormPostPatterns is used as the basis for > text replacement in PmForms. However, setting in config.php: > $PmFormPostPatterns = array(); > > Causes all text beyond the closing :) to be stripped. > At the risk of talking to myself, it looks like t

Re: [pmwiki-users] Retain markup expressions inside input and textareas

2008-12-26 Thread DaveG
Docs and code suggest that $PmFormPostPatterns is used as the basis for text replacement in PmForms. However, setting in config.php: $PmFormPostPatterns = array(); Causes all text beyond the closing :) to be stripped. ~ ~ Dave DaveG wrote: > Currently when using PmForms, if the user enter

[pmwiki-users] Retain markup expressions inside input and textareas

2008-12-25 Thread DaveG
Currently when using PmForms, if the user enters markup in a textarea, and saves, the returned data inserts a space between the parentheses, and the colon. User enters: (:somemarkup:) Post-Save: ( :somemarkup: ) This is probably as a security measure. Is there a to disable this, and retain th