Skip to content

Commit 8c1f485

Browse files
committed
Fixes #4
1 parent ed6a843 commit 8c1f485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ooxml-validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class OOXMLValidator {
110110
<dt class="col-sm-3">Id</dt>
111111
<dd class="col-sm-9">${err.Id}</dd>
112112
<dt class="col-sm-3">Description</dt>
113-
<dd class="col-sm-9">${err.Description}</dd>
113+
<dd class="col-sm-9">${err.Description?.replace(/</g, '&lt;')}</dd>
114114
<dt class="col-sm-3">XPath</dt>
115115
<dd class="col-sm-9">
116116
${err.XPath}

0 commit comments

Comments
 (0)