White space between tags

Alex Mancevice's Avatar

Alex Mancevice

14 Jul, 2010 07:23 PM via web

I'm getting a bug/configuration problem with tidy where it's inserting white space between tags.

The source looks like:
Oracle 11<em>g</em>

And after tidy it's:
Oracle 11 <em>g</em>

Anyone know off the top of their head if there's a configuration option to fix this?

  1. 2 Posted by Alex Mancevice on 14 Jul, 2010 07:31 PM

    Alex Mancevice's Avatar

    correction: it actually looks like tidy just puts the <em> tag on the next line

    something like:
    <p class="bodycopy">Oracle Database 11 <em>g</em> </p>

    (there's a line feed in there as a &#10; but it's not formatting quite right)

  2. 3 Posted by Ross Macdonald on 14 Jul, 2010 08:12 PM

    Ross Macdonald's Avatar

    Hi,

    Not sure about what exact property would help, but have a look at: http://jtidy.sourceforge.net/apidocs/org/w3c/tidy/Configuration.html

    Not all properties are supported, so it may be a little trial and error.

    I take it you are using 2.13?

    If so its been a while since I used this version of VCM, so I apoligise if I cant be more helpfull.

    Ross

  3. 4 Posted by stewartmckee on 17 Aug, 2010 09:04 AM

    stewartmckee's Avatar

    Hi Alex,

    Did you get this resolved?

  4. stewartmckee closed this discussion on 26 Aug, 2010 09:39 AM.

Comments are currently closed for this discussion. You can start a new one.