Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Adding check that flags as error a non-breaking space in the mdui:log…
Browse files Browse the repository at this point in the history
…o URL
  • Loading branch information
Alex Stuart authored and Alex Stuart committed Jan 25, 2016
1 parent 782f100 commit 9c4f9ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mdx/_rules/check_mdui.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@
</xsl:call-template>
</xsl:if>

<xsl:if test="contains(., '&#xA0;')">
<xsl:call-template name="error">
<xsl:with-param name="m">mdui:Logo contains non-breaking space</xsl:with-param>
</xsl:call-template>
</xsl:if>

<!--
Require that the URL starts with https://
Expand Down

0 comments on commit 9c4f9ac

Please sign in to comment.