You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, mnconvert converts both code and preformat into:
[source]
--
...
---
but they should processed differently for backward Metanorma XML to NISO STS XML conversion. But at this moment I don't figure out how to separate them.
The text was updated successfully, but these errors were encountered:
preformat Best Practice (https://www.niso-sts.org/TagLibrary/niso-sts-TL-1-0-html/element/preformat.html) Although it is possible to use <preformat> to tag any format-preserving object, some of these objects have semantic elements that should be used in preference, for example: Programming code, scripts, pseudo-code, DTDs and Schemas, and XML instances should be tagged with the [<code>](https://www.niso-sts.org/TagLibrary/niso-sts-TL-1-0-html/element/code.html) element, making full use of its attributes to identify the type of code.
So, if sourcecode doesn't have the attribute lang, then it will be converted to the element preformat.
Source: #190
Currently, mnconvert converts both
code
andpreformat
into:but they should processed differently for backward Metanorma XML to NISO STS XML conversion. But at this moment I don't figure out how to separate them.
The text was updated successfully, but these errors were encountered: