Search the web
Sign In
New User? Sign Up
vanilla-pudding · Vanilla is a simple hypertext system which subscribes to the Wiki philosophy.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Making vanilla ignore whitespace in HTML   Message List  
Reply | Forward Message #906 of 980 |
Re: [vanilla] Re: Making vanilla ignore whitespace in HTML

Earl Walker wrote:

>
> Wednesday, April 26, 2006, 2:44:38 PM, mrzoon wrote:
>
> > I'm getting really tired of editing snips containing HTML given
> > vanilla's propensity for interpreting whitespace as carriage
> > returns. If I edit the HTML in a "pretty" format, vanilla stretches
> > the resulting page out mindlessly; if I remove all white space, the
> > result is correct, but editing is hell. What's the point of all the
> > newlines? Where is this happening? Does this work this way because
> > of something else important, or can it be changed?
>
> the original idea was that you can simply press enter twice and get
> usual paragraph formatting. however, we all know about the lousy state
> vanilla's html is in, and this paragraph formatting should better be
> done using real <p> tags and not <br>.
>
> you can circumvent this processing by prepending a newline with a \ -
> e.g.
>
> -- snip --
> foo\
> \
> bar\
> -- snip --
>
> will result in "foobar" being rendered.
>
> if you want to disable it alltogether, in vanilla.r there is a
> function called html-format which calls html-format-breaks. simply
> comment out (prepend a ';') the call the html-format-breaks and this
> behaviour will be gone - for everthing and forever. (or at least until
> you uncomment it again :)


thanks, earl... once again, the "royal" treatment :)

--


------------------------------------------------------------------------
Pete Wason Hy Noom Publications codevark@... 508.865.5414




Fri Apr 28, 2006 12:10 am

mrzoon
Offline Offline
Send Email Send Email

Forward
Message #906 of 980 |
Expand Messages Author Sort by Date

Hiall! Happy Spring! I'm getting really tired of editing snips containing HTML given vanilla's propensity for interpreting whitespace as carriage returns. If I...
mrzoon
Offline Send Email
Apr 26, 2006
12:46 pm

... the original idea was that you can simply press enter twice and get usual paragraph formatting. however, we all know about the lousy state vanilla's html...
Earl Walker
lord_earl_wa...
Offline Send Email
Apr 27, 2006
11:10 pm

... thanks, earl... once again, the "royal" treatment :) -- ... Pete Wason Hy Noom Publications codevark@... 508.865.5414...
Pete Wason
mrzoon
Offline Send Email
Apr 28, 2006
12:11 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help