Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressing emergent bug in markdown conversion, M3 release #56

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion toolchains/oscal-m2/json/md-oscal-converter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@
<xsl:template match="m:replace" expand-text="true">
<xsl:param name="str" as="xs:string"/>
<!--<xsl:value-of>replace({$str},{@match},{string(.)})</xsl:value-of>-->
<xsl:sequence select="replace($str, @match, string(.))"/>
<!-- 's' sets dot-matches-all -->
<xsl:sequence select="replace($str, @match, string(.),'s')"/>
<!--<xsl:copy-of select="."/>-->
</xsl:template>

Expand Down Expand Up @@ -461,6 +462,8 @@

<xsl:variable name="examples" xml:space="preserve">
<p>**Markdown** and even " quoted text" and **more markdown**</p>
<p>**See the FedRAMP Documents page under Key Cloud Service Provider (CSP) Documents> Vulnerability Scanning Requirements** ([https://www.FedRAMP.gov/documents/](https://www.FedRAMP.gov/documents/))</p>
<p>**See the FedRAMP Documents page under Key Cloud Service Provider\n\t\t\t\t\t\t\t\t(CSP) Documents> Vulnerability Scanning Requirements** ([https://www.FedRAMP.gov/documents/](https://www.FedRAMP.gov/documents/))</p>
<p>

Just a plain old \* star, and another \* ...
Expand Down