svd: wrap svd in script tag to escape it

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2022-04-07 15:45:05 +08:00
parent f4dca24bac
commit 8aa55b0572

View File

@ -727,7 +727,7 @@
</section>
<section>
<h2>SVD: Standard Chip Documentation</h2>
<pre class="code-animation"><code class="xml" data-trim data-line-numbers="|3-9|25-87|27-31|31|39-57|41|43|46-47|48-56">
<pre class="code-animation"><code class="xml" data-trim data-line-numbers="|3-9|25-87|27-31|31|39-57|41|43|46-47|48-56"><script type="text/template">
<?xml version='1.0' encoding='utf-8'?>
<device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="1.1" xsi:noNamespaceSchemaLocation="CMSIS-SVD_Schema_1_1_draft.xsd">
<vendor>STMicroelectronics</vendor>
@ -816,7 +816,7 @@
</peripheral>
</peripherals>
</device>
</code></pre>
</script></code></pre>
<p>BlueNRG2.svd</p>
</section>
<section>