Skip to content

Commit

Permalink
fix typo-bug from v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
josteinaj committed Aug 21, 2020
1 parent 0cae0ad commit c8fa081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/xml/schema/nordic2015-1.sch
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@

<!-- Disallow internal links without fragment identifiers (see https://github.com/nlbdev/nordic-epub3-dtbook-migrator/issues/372) -->
<pattern id="epub_nordic_273b">
<rule context="html:a[not(matches(@href, '^([a-z]+:/+|mailto:|tel:)']">
<rule context="html:a[not(matches(@href, '^([a-z]+:/+|mailto:|tel:)'))]">
<assert test="matches(@href, '.*#.+')">[nordic273b] Internal links must contain a non-empty fragment identifier: <value-of
select="concat('&lt;',name(),string-join(for $a in (@*) return concat(' ',$a/name(),'=&quot;',$a,'&quot;'),''),'&gt;')"/></assert>
</rule>
Expand Down

0 comments on commit c8fa081

Please sign in to comment.