Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Julien Tremblay McLellan
XSweet
Commits
3ac464a4
Commit
3ac464a4
authored
Apr 25, 2018
by
Wendell Piez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppressing a problem template see
#140
parent
5d1b023c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
applications/docx-extract/collapse-paragraphs.xsl
applications/docx-extract/collapse-paragraphs.xsl
+4
-2
No files found.
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