From: Paul B. <pa...@pa...> - 2004-02-24 17:03:40
|
Why disable for pages with old style markup - EOL -> <br /> was how the old markup worked? /_ is a good idea, it will not IMO be needed very often, on the other hand you could always put a space after a / at the end of line to 'escape' it if you wanted to display the / - it would not affect the rendering (just white space in HTML). I am still trying to find where this happens in the code (excellent code BTW - generating valid HTML is much harder than it looks, the inline/block level rules being particularly unhelpful)... -----Original Message----- From: electron [mailto:ele...@mg...] Sent: 24 February 2004 16:27 To: 'Paul Bloomfield'; php...@li... Subject: RE: [Phpwiki-talk] Line breaks in new markup This has been a user requested feature. 2 ways to do it: 1) Assume as you said, parse EOL as <br /> 2) Replace EOL with %%% and let user decide in preview. New option to disable auto formatting? I suggest 1 and we only parse as such on pages that don't have old style markup checked. Also would suggest /_ as that is a combination that is infrequently used. -Jtp ---- Is the change to the way line breaks work in new markup intentional? It seems that a single end-of-line (EOL) is parsed as an end of line in the HTML, rather than a <br />. To get a <br /> you have to force it with %%%. I cannot work with this - it is unlike any other wiki I know. What would work much better is for the default for an end of a line to be a <br />, unless that line were terminated with a / or something, in which case it would flow on. Double EOLs of course stay as closing a </p>. Is this already switchable, if not can it be made switchable (or got rid of altogether), or does the community prefer what we have now with %%% anyway so I'd better just get on and code it myself? Paul ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |