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
9ffa44a4
Commit
9ffa44a4
authored
Dec 12, 2016
by
Aghiles
Browse files
Correction gestion des sections lien externe/ voir aussi
parent
96953e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
wikipedia_to_hdoc/xslt/wiki_to_hdoc.xsl
View file @
9ffa44a4
...
@@ -423,8 +423,10 @@
...
@@ -423,8 +423,10 @@
<xsl:template
match=
"div[@id='toctitle']/h2"
priority=
"1"
/>
<xsl:template
match=
"div[@id='toctitle']/h2"
priority=
"1"
/>
<!-- Ignoring end of file h2: see also, etc... -->
<!-- Ignoring end of file h2: see also, etc... -->
<xsl:template
match=
"h2[not(following-sibling::p intersect following-sibling::h2[1]/preceding-sibling::p)]"
/>
<!-- <xsl:template match="h2[not(following-sibling::p intersect following-sibling::h2[1]/preceding-sibling::p)]"/>-->
<xsl:template
match=
" h2[following-sibling::ul[li/a[@class='external text'] and preceding-sibling::h2]][last()]"
/>
<xsl:template
match=
" h2[following-sibling::div[@class='references-small decimal'] and preceding-sibling::h2][last()]"
/>
<xsl:template
match=
"div[@id='mw-navigation']/h2"
/>
<!-- Ignoring divs by default: they are not relevant to us -->
<!-- Ignoring divs by default: they are not relevant to us -->
<xsl:template
match=
"div"
mode=
"#all"
/>
<xsl:template
match=
"div"
mode=
"#all"
/>
...
...
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