Hi, the problem is even bigger. think of multi-line messages like this: a: b
normally, this would work a:\nb but on the web you need a:<br/>b if anybody has a good idea on how to handle these cases i would really appreciate it. thanks Michael On Apr 15, 2:21 pm, salk31 <[email protected]> wrote: > What is the best plan for allowing/disallowing markup in i18n > messages? > > I'd be tempted to say no but one day the pointy haired boss is going > to say he wants a word in italics and I'd feel a bit silly saying > "no". > > Sorry if I've missed something but does GWT offer a solution to this? > > The best I can think of is that by default messages won't have markup > (so will be escaped) but if the message starts with a valid tag e.g. > "<span>" then I will turn off escaping for at least <strong>, <em> > etc... So not very good at all. > > Thanks > > Sam -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
