Additional html tags for some variables (from TidyXML source)

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Peter_J_user
Posts: 8
Joined: Thu Dec 16, 2021 4:20 pm

Additional html tags for some variables (from TidyXML source)

Unread post by Peter_J_user »

Hello team,

I encountered a problem with redundant html tags.

I had a Help+Manual project in non-Tidy XML format. When a variable (var tag) was inserted in the middle of a sentence (with the same style as the sentence) and I created an html output, the variable was replaced by text and it was included within the html tag before and after it (see the left side of the attached html_source_output_differences.png).

Then I converted the project to Tidy XML and after compilation to html, I found out that the resulting html tag is split and the variable has its own redundant html tag (see the right side of the attached html_source_output_differences.png). I noticed this happens not for all variables, but only to some style that I use (the issue occurred in several project topics).

Is this a bug or a feature? There is no difference when viewing the html file in a web browser, but I do not like that there are additional and unnecessary html tags (they make the html bigger and the file structure is not optimal).

See attached XML source (in Tidy XML) and HTML outputs (the one on the right is generated from Tidy XML).
I am using the latest Help+Manual 8.4.2.
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 7819
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Additional html tags for some variables (from TidyXML source)

Unread post by Tim Green »

Hi Peter,

Thanks for reporting this -- it hasn't come up yet. As far as I can see, it is happening when variables are used in any style other than Normal. Our developers are going to look into it. :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Peter_J_user
Posts: 8
Joined: Thu Dec 16, 2021 4:20 pm

Re: Additional html tags for some variables (from TidyXML source)

Unread post by Peter_J_user »

Hi Tim,

thanks for your quick response. I can confirm that it does not happen for variables in style Normal, only in other styles.
User avatar
Tim Green
Site Admin
Posts: 7819
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Additional html tags for some variables (from TidyXML source)

Unread post by Tim Green »

Hi Peter,

Update: We've located the issue and it's actually a side effect of something that was intended and has been around for quite a while. It will be corrected in a future update but I'm afraid it doesn't have enough priority for a quick fix right away, as the only result is a few additional tags in paragraphs with variables. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Peter_J_user
Posts: 8
Joined: Thu Dec 16, 2021 4:20 pm

Re: Additional html tags for some variables (from TidyXML source)

Unread post by Peter_J_user »

Hi Tim,

thanks for your response and clarification!
Post Reply