Skip to content

Commit

Permalink
Don't match nodes without anything
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Oct 20, 2022
1 parent af23aac commit c2bcf78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nostarch/appendix_b.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,3 @@ Table B-10: Square Brackets
pretending to be collection slicing, using `Range`, `RangeFrom`, `RangeTo`, or
`RangeFull` as the “index” |


Unmatched:
2 changes: 2 additions & 0 deletions tools/docx-to-md.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@
<xsl:text> </xsl:text>
</xsl:template>

<xsl:template match="w:p[not(w:pPr)]" />

<xsl:template match="w:p">
Unmatched: <xsl:value-of select="w:pPr/w:pStyle/@w:val" />
<xsl:text>
Expand Down

0 comments on commit c2bcf78

Please sign in to comment.