Re: How to make HTMLEditorKit/HTMLReader recognize multiple spaces?

From: Sri Krishana (srikrish68_at_hotmail.com)
Date: 03/23/04


Date: 23 Mar 2004 06:57:03 -0800


"Jon A. Cruz" <jon@joncruz.org> wrote in message news:<405FC242.4010704@joncruz.org>...
> Sri Krishana wrote:
> > Hi all,
> > When I read a HTML file with multiple spaces, how do I make it render
> > all the spaces instead of shrinking them?
>
> If you do that, then you're violating the specs on HTML (unless you
> shove things in pre tags, of course).

I don't have problems with bending this rule prescribed in HTML specs.
So, if you or anyone tell me a way to do that. I have a few problems
using pre tags. I would like to do a few things with the parser/DTD
and get around this. Can anyone help?



Relevant Pages

  • Re: Two different kind of spaces
    ... The HTML generator in OE attempts to accommodate human typing. ... and multiple spaces as a single space. ... AVG free antivirus http://www.grisoft.com ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • RE: [PHP] $_GET and multiple spaces.
    ... [PHP] $_GET and multiple spaces. ... On Mon, January 14, 2008 3:17 am, Jochem Maas wrote: ... as it is being passed to HTML as a value to be output ...
    (php.general)
  • Re: How to make HTMLEditorKit/HTMLReader recognize multiple spaces?
    ... > When I read a HTML file with multiple spaces, how do I make it render ... This is exactly the way HTML is defined. ... display your HTML properly, then your HTML is not proper :-) ... Do you really want to re-write it, because you don't want to fix your HTML? ...
    (comp.lang.java.gui)
  • Re: word webpages
    ... The ther are som tags with no closing tags DreamWeaver would remove what ever was causing these problems. ... Just create a simple document and save as HTML Make sure it has some type of formatting. ... XML all versions ...
    (microsoft.public.mac.office.word)
  • Re: macro and cl-who help
    ... Lisp, but... ... you back into the "walking forms as HTML data" mode, ... This would have been extensible with user-defined tags, ... HTML tags are macros can be functions: ...
    (comp.lang.lisp)

Loading