-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
3 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!-- | ||
Strip rfc2629.xslt extensions, generating XML input for "official" xml2rfc | ||
Copyright (c) 2006-2022, Julian Reschke ([email protected]) | ||
Copyright (c) 2006-2023, Julian Reschke ([email protected]) | ||
All rights reserved. | ||
Redistribution and use in source and binary forms, with or without | ||
|
@@ -1044,6 +1044,16 @@ | |
</xsl:if> | ||
</xsl:template> | ||
|
||
<xsl:template match="iref/@item|iref/@subitem" mode="cleanup"> | ||
<xsl:if test=".!=normalize-space(.)"> | ||
<xsl:call-template name="debug"> | ||
<xsl:with-param name="msg">Stripping non-normalized whitespace ("<xsl:value-of select="."/>") from iref attribute "<xsl:value-of select="local-name()"/>"</xsl:with-param> | ||
</xsl:call-template> | ||
</xsl:if> | ||
<xsl:attribute name="{local-name()}"> | ||
<xsl:value-of select="normalize-space(.)"/> | ||
</xsl:attribute> | ||
</xsl:template> | ||
|
||
<!-- issue tracking extensions --> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters