Documenter Mangles Tabs

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
KJS714
Posts: 2
Joined: Thu 10 Jan 2019 11:30

Documenter Mangles Tabs

Post by KJS714 » Thu 10 Jan 2019 11:47

When exporting to HTML or PDF, tab characters get mangled in both formats. Markdown exports the tabs as is. For HTML, the tab characters are being converted to four plain spaces instead of four nbsp; (non-breaking spaces), causing browsers to collapse them according to standard HTML rendering rules. The end result is left-alignment being applied to indented code, rending it difficult to read and unpresentable to management. Note that source code that uses spaces for indents has those spaces correctly exported as non-breaking spaces, preserving formatting.

alexa
Devart Team
Posts: 2722
Joined: Fri 24 Jun 2011 14:17

Re: Documenter Mangles Tabs

Post by alexa » Fri 11 Jan 2019 12:44

Could you please describe it in more detail and provide us an example of this?

You can send a reply straight to our support system at alexaATdevartDOTcom and supportATdevartDOTcom .

KJS714
Posts: 2
Joined: Thu 10 Jan 2019 11:30

Re: Documenter Mangles Tabs

Post by KJS714 » Sun 20 Jan 2019 01:30

Tab characters (\t, ASCII character 0x09) are being converted into four standard spaces (' ', ASCII character 0x20). HTML rendering engines collapse standard spaces, and do not collapse non-breaking spaces as I mentioned.

This is the raw technical information on the problem and the result is all tabs are eliminated in the output, causing indented items to shift to the left.

There are no more details to give.

alexa
Devart Team
Posts: 2722
Joined: Fri 24 Jun 2011 14:17

Re: Documenter Mangles Tabs

Post by alexa » Thu 24 Jan 2019 14:11

Could you please let us know what browser you are viewing results with?

If possible, please provide us screenshots of the places with Tabs in dbForge and the place in the exported html file where it's displayed not correctly.

You can send a reply straight to our support system at alexaATdevartDOTcom and supportATdevartDOTcom .

Post Reply