Skip to content

Commit

Permalink
handle underline phrases without css:text-decoration-line
Browse files Browse the repository at this point in the history
  • Loading branch information
fr4nze committed May 28, 2024
1 parent 30fc3fe commit 47b2067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
</template>

<template context="*[local-name() = $text-style-elements]
[@css:text-decoration-line ne 'none']
[@css:text-decoration-line ne 'none' or not(@css:text-decoration-line)]
[ (@css:text-decoration-line[. eq 'underline']
or exists(key('style', @role)[@css:text-decoration-line eq 'underline']))]
[not(@role eq 'Hyperlink')]
Expand Down

0 comments on commit 47b2067

Please sign in to comment.