Using xml:space="preserve" in the tml file has always worked perfectly for me. What.version of Tapestry are you using, and can you show us the snippet of the tml file? On Sep 12, 2016 8:40 AM, "Lherm Nicolas" <nlh...@sqli.com> wrote:
> Nope, I just search a label from a database. > > > Inside the label there is somes whitesspace but it still the label. > > > Ex : the label in the database : "PAC 145" ---> the label in the > render page "PAC 145" (with firebug i still have the good one in html) > > ________________________________ > De : Qbyte Consulting <qbyteconsult...@gmail.com> > Envoyé : lundi 12 septembre 2016 14:35:40 > À : Tapestry users > Objet : Re: WhiteSpace Compress > > Even if Tapestry emits the white space, the browser will ignore it. You > must use to include additional spaces, yes? > > On Mon, Sep 12, 2016 at 1:28 PM, Lherm Nicolas <nlh...@sqli.com> wrote: > > > Hello, > > > > I read in paragraph http://tapestry.apache.org/component-templates.html > $ > > Whitespace in Templates , that Tapestry " compressed" the white -spaces. > > > > In my application , I have repeated whitespace and they are reduced to a > > single space character . However, I would like to keep those whitespaces > on > > the final rendering. > > > > I try to add at my tml file : xml: space = "preserve " into the <span> > > however this did not worked . > > > > >