#2 keycombos should ignore whitespace
Closed 6 years ago Opened 6 years ago by jhradile.

Originally reported by @pbokoc:

Docscii generates mangled kbd: markup when converting a <keycombo> that contains spaces between inner tags. For example, the following line (note the spaces):

<keycombo> <keycap>Ctrl</keycap> <keycap function="alt">Alt</keycap> <keycap>F2</keycap> </keycombo>

is converted into this:

kbd:[ + Ctrl + + Alt + + F2 + ]

which then breaks anything between the whole paragraph and the rest of the friggin' book, and by god I wish that was hyperbole when built back into docbook with ccutil. Instead, the docbook should be converted into this:

kbd:[Ctrl + Alt + F2]

which is what happens if you remove whitespace from inside they original <keycombo>.


Metadata Update from @jhradile:
- Issue assigned to jhradile

6 years ago

Metadata Update from @jhradile:
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata