Page 1 of 1

HTML tag characters count towards info box width in fullscreen

Posted: Sun Jun 30, 2024 12:35 pm
by Sprawl2459
Basically what the title says. I need to format the info box content for fullscreen view, but every single tag character makes the info box wider. Using XnView MP 1.7.2.

Cheers!

Re: HTML tag characters count towards info box width in fullscreen

Posted: Tue Jul 02, 2024 8:36 am
by xnview
how to reproduce?

Re: HTML tag characters count towards info box width in fullscreen

Posted: Tue Jul 02, 2024 9:31 am
by user0
related
Info - add 'HTML only' mode

xnview wrote: Tue Jul 02, 2024 8:36 amhow to reproduce?
1. use code from post above (set border=1 to show where content ends)
content takes less than half of info box, but unfortunately
its width is calculated based on symbols quantity in the longest string, in our case - 1st (red)

2. add line breaks at the blue lines
info box will shrink

info_html_tags_rendering.png

need a new "html only" mode, not this weird mix of text and html tags

Re: HTML tag characters count towards info box width in fullscreen

Posted: Tue Jul 02, 2024 2:33 pm
by Sprawl2459
I couldn't have described it any better. In fact, I couldn't have described it as well as you. : )

Re: HTML tag characters count towards info box width in fullscreen

Posted: Sun Jul 07, 2024 2:02 pm
by xnview
user0 wrote: Tue Jul 02, 2024 9:31 am 1. use code from post above (set border=1 to show where content ends)
Could you send me the text used?