metanorma / metanorma-cc

Metanorma CSD processor
https://www.metanorma.com
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

Backtick syntax should be shown as quoted "code" in HTML output #41

Closed ronaldtse closed 6 years ago

ronaldtse commented 6 years ago
The expression `F8D` in the frequency part means that the eligible...

This shows up as HTML:

The expression F8D in the frequency part means that the eligible...
opoudjis commented 6 years ago

I've changed my instance of the document in question to match yours, and I can't replicate what you're getting:

[example]
The expression `F8D` in the frequency part means that the eligible periods are spaced 8 days apart, length of the eligible periods are 1 day, and eligible periods are the 8th day of each 8-day interval.
<table id="_87f42552-31b7-4ff5-b1fb-cb682b43c086" class="example"><tr><td valign="top" class="example_label" style="width:82.8pt;">EXAMPLE  2</td><td valign="top" class="example">
  <p id="_dbcf0f06-84e7-4487-8eec-837c1e7ef7ba" class="example">The expression <tt>F8D</tt> in the frequency part means that the eligible periods are spaced 8 days apart, length of the eligible periods are 1 day, and eligible periods are the 8th day of each 8-day interval.</p>
</td></tr></table></div>

My version of the document did not have backticks but straight quotes.

opoudjis commented 6 years ago

I've found the issue: the stylesheets are applying the body font to <tt>, which is wrong; and it applies to all stylesheets in Metanorma. Grr. Fixing.