Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
c5c335c8
Commit
c5c335c8
authored
Dec 31, 2016
by
Anna Lainé
Browse files
Exception for divs with images
parent
1011364c
Changes
1
Show whitespace changes
Inline
Side-by-side
wikipedia_to_hdoc/xslt/wiki_to_hdoc.xsl
View file @
c5c335c8
...
...
@@ -500,5 +500,5 @@
<xsl:template
match=
"h2[span[@id='Notes_et_r.C3.A9f.C3.A9rences']]"
/>
<!-- Ignoring divs by default: they are not relevant to us -->
<xsl:template
match=
"div[not(descendant::table)]"
mode=
"#all"
/>
<xsl:template
match=
"div[not(descendant::table)
and not(descendant::img)
]"
mode=
"#all"
/>
</xsl:stylesheet>
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