Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
XSweet
XSweet
Commits
3ac464a4
Commit
3ac464a4
authored
Apr 25, 2018
by
Wendell Piez
Browse files
Suppressing a problem template see
#140
parent
5d1b023c
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/docx-extract/collapse-paragraphs.xsl
View file @
3ac464a4
...
...
@@ -76,10 +76,12 @@ Note the following mappings:
<!-- We can strip 'span' elements when they are coextensive with their wrapping p and
have nothing but @style to offer, as the latter is being promoted. -->
<xsl:template
match=
"p//span[empty(@class)]
<!-- NB suppressing this until it can test whether a wrapping @class doesn't warrant its retention
see https://gitlab.coko.foundation/XSweet/XSweet/issues/140 -->
<!--<xsl:template match="p//span[empty(@class)]
[normalize-space(.) = normalize-space(ancestor::p[1]) and count(../*) eq 1]">
<xsl:apply-templates/>
</xsl:template>
</xsl:template>
-->
<!-- Note we leave 'u', 'i' and 'b' in place despite also promoting them to CSS. -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment