Block of HTML

 I have a problem with my text. I have imported the file and I have some segments like this.

'<p style="margin:0;padding:0;border:0;"> <img src="track.adform.net/.../ width="1" height="1" alt="" /> </p>'

I already replaced &lt and &gt with notepad and used parser and attribute box for meta.

What can I do with these? Thanks

Parents Reply Children
  • Unknown said:
    Could I ask what effect does this have on my file? Is there anything that I should be aware of in this case? Thank you

    None whatsoever.  Evzen is just making the point that it's actually invalid html, and this takes us into the age old argument of should we care?  Studio generally looks to validate the correctness of files and this often leads to difficulties when the source has been prepared by someone who doesn't care about how well formed the file is because they can use it without a problem.

    My personal opinion is we are not here to teach people how to prepare their source files in accordance with the various standards.  We are here to provide the people tasked with localizing the content a way to handle the files.  If they are garbage in, then we spit garbage out.  If they are perfect in, then we spit perfect out.  All we should care about is the translatable text.

    I do think we need to have an optional validator as many of our customers actually do care, but we should not mandate this.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • I have researched this and it look like this is not an invalid html but rather the &lt;p style should be read as <p style, which is a normal attribute for the paragraph. I also would have another question, what this stands for exactly?( ;Javascript doit &#234;tre activ&#233; pour www.minor.ch pour fonctionner correctement) I would like to know the exact purpose of this in the html file. Thank you