From: Wendall C. <wen...@to...> - 2005-02-03 15:33:08
|
I just ran into this as well. It is really nice to have the breaks added when just adding a block of plain text in a browser. However, when adding a block of pre-formatted html it is quite annoying to have the breaks added. I would opt for some type of marker at the head like <nobreaks> or {nobreaks} on the first line to signify no breaks. Reason is that I may have a plain block of text that I want to have a word bolded or in italics. This would unexpectedly break the breaker functionality. On a similar subject. I'd like to see <strong> and <em> added to the default allowed tags list in textsettings.php. They have been the w3c recommendation for bold and italics for a good ten years now. Wendall On Thu, 2005-02-03 at 14:42 +0000, Shaun Murray wrote: > On 3 Feb 2005, at 13:24, Matthew McNaney wrote: > > > Oh now you are just looking for stuff to complain about ;^) > > > > Don't get me started on my end of year tax return... > > >> Is there a middle way? > >> > >> Is was wondering what the effect would be of allowing a SMART setting > >> which checked the > >> content for tags such as the ones in $allowed_tags and then if found, > >> switched off the > >> conversion? > > > > So if you enter <nobreaks> none will be added? If the other devs like > > that I see no problem with adding it. Just decide on the tag name and > > format. > > Does it need an extra tag? > > I was thinking more that the textsettings.php $add_breaks was a three > state thing and the parseOutput function grep-ed for the allowed_tags > rather than a new one but maybe it'd screw up the displays of old > content already in the database. We don't store the converted output > with the added <br /> in the database do we? > > > > Shaun > aegis design - http://www.aegisdesign.co.uk > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |