Thanks for the quick reply.
This is the code that i added to the web.xml file to activate trimSpaces:
<init-param>
<param-name>trimSpaces</param-name>
<param-value>true</param-value>
</init-param>
This is the HTML code:
1. Before
class="mrf-article mrf-article--photo mrf-page mrf-noFillet mrf-author
mrf-m mrf-image ">
1.After
class="mrf-article mrf-article--photo mrf-page mrf-noFillet mrf-author
mrf-mmrf-image">
2.Before
class="mrf-article mrf-article--photo mrf-page mrf-noFillet mrf-author
mrf-video mrf-m mrf-image ">
2.After
class="mrf-article mrf-article--photo mrf-page mrf-noFillet mrf-author
mrf-mmrf-image">
3.Before
<li id="mrf-messenger" class="mrf-shareOption mrf-brandBkg
mrf-messenger mrf-hidden">
3.After
<li id="mrf-messenger" class="mrf-shareOption mrf-brandBkg
mrf-messengermrf-hidden">
There are many more incidents of the same thing happening.
Thanks
On 10 May 2017 at 20:13, Mark Thomas <[email protected]> wrote:
> On 10/05/17 17:17, David Kavanagh wrote:
> > Hey,
> >
> > I am wondering if anyone has come across this issue, and hopefully a way
> > to fix it.
> > When i enable the trimSpaces configuration option it removes the
> > whitespace but also
> > removes some whitespace from particular areas of the html. In my case,
> > it removes white space between some of the classes in a class=" class1
> > class2 class3" string. In one case, the first example, it actually
> > removes text as well. I am running Tomcat version 8.0.15.
> >
> > Here are some examples:
>
> The in-line images are removed by the list software.
>
> If you can include the example source and resulting HTML snippets
> in-line, that would work better.
>
> Mark
>
>
>
> > Any advice on this would be greatly appreciated.
> >
> > Kind Regards
> >
> > David
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>