problem with structured text format
Hello, let InputTestForm be: ---------------------8<------------------------ <form action=Render> <textarea name=data cols=64 rows=5></textarea> <input type=submit value="Without :text"> </form> <form action=Render> <textarea name=data:text cols=64 rows=5></textarea> <input type=submit value="With :text"> </form> ---------------------8<------------------------ And Render be: ---------------------8<------------------------ <!--#var data fmt="structured-text"--> ---------------------8<------------------------ Try to fill data and data:text with random values, and you'll see that: - in etiher case, font attributes such as *emphasis* and **bold** are correctly rendered. - but list constructs such as: ---------------------8<------------------------ There are my **items**: - first - second ---------------------8<------------------------ work with "data:text" but do not with "data". The generated source when formatting "data:text" is ---------------------8<------------------------ There are my <strong>items</strong>: <ul> <li>first <li>second </ul> ---------------------8<------------------------ However, the generated source for "data" is: ---------------------8<------------------------ There are my <strong>items</strong>: - first - second ---------------------8<------------------------ which is viewed as: ---------------------8<------------------------ There are my items: - first - second ---------------------8<------------------------ Of course, "items" is strong, but i cannot render this in my mail client :-) This is especially annoying because i get "data" from a database (not from InputTestForm), and SELECT data as data:text from MyTable doesn't work. I have to miss something, or perhaps this is a bug??? The funniest part is: if formatting "data:text" works as expected from InputTextForm, then "data" must be of type "non text". What type is it then? Any input are welcome. Regards, Jephte CLAIN Service Informatique CHSR
participants (1)
-
Service Informatique CHSR