Author Topic: Development Help with INF2Html  (Read 2626 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Development Help with INF2Html
« on: May 12, 2024, 06:46:48 pm »
Hello

I need some help with Inf2Html. There is an issue while transforming to HTML some borderless tables (I guess).
I have the issue documented here: https://github.com/OS2World/UTIL-CONV-Inf2HTML/issues/1

Since this is an open source command line tool, I don't know if someone with development skills can please help with this issue, if it is easy to find out.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 361
  • Karma: +29/-0
    • View Profile
Re: Development Help with INF2Html
« Reply #1 on: May 13, 2024, 08:24:35 am »
The generated HTML for the lists is completely wrong. You don't put <ul> inside <ul>.
You have to do something like the following:
Code: [Select]
<ul>
  <li>WC_BUTTON<br/>
Consists of buttons and boxes that the operator can select by clicking the pointing device or using the keyboard. These messages are described in <a href="...">Button Control Window Processing.</a>
  </li>
...
</ul>
you can also try to wrap the explanation in <p> making it its own paragraph, then you don't need the <br/>. But I  don't know ATM how that would look.