HTM with embedded content in { }

Has anyone tried to make use of the embedded content function in the HTML file type?

I have a file, where beside the html code such content is included:

<h1>ESG Report{% if preview %} - <strong>Preview</strong>{% endif %}</h1>

As the complete text would perfectly work with HTML, I would like simply to exclude the { } content. So I just assumed, I add this to plain text (I added {{1,2}.*?}{1,2} as inline tag) in the embedded content processors and activate that in the html parser, but id does not work.

So what I am doing wrong here?

_________________________________________________________

When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Parents Reply
  • Hi Paul

    You are the greatest, but it won't work...

    The file in question is attached.

    The problem here are tags like list element (standard html tag), but it contains also text in { }. This is why I am until now not able to write a regex text file type. So I tried to use HTML with embedded content. But even if I add the same regex as you or {[^}]*}, it seems not to work. I am really puzzled by that file...

    index.html.zip

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Children