<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-guide.
</pre>
<p><a href="https://github.com/macports/macports-guide/commit/7fa83b3565339e53de947b747bff088a7c5bafef">https://github.com/macports/macports-guide/commit/7fa83b3565339e53de947b747bff088a7c5bafef</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7fa83b3565339e53de947b747bff088a7c5bafef
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Thu Nov 16 20:44:52 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> Fix use of xml:id="" in the wrong places
</span>---
Makefile | 4 ++--
guide/resources/tabs.xsl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index dc0410e..2cab679 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,7 +73,7 @@ endif
</span> # Convert all sections (h1-h9) to a link so it's easy to link to them.
# If someone knows a better way to do this please change it.
$(REINPLACE) \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 's|(<h[0-9] [^>]*><a xml:id="([^"]*)"></a>)([^<]*)(</h[0-9]>)|\1<a href="#\2">\3</a>\4|g' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 's|(<h[0-9] [^>]*><a id="([^"]*)"></a>)([^<]*)(</h[0-9]>)|\1<a href="#\2">\3</a>\4|g' \
</span> $(GUIDE_RESULT)/index.html
# Generate the chunked HTML guide with one section per file.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,7 +92,7 @@ endif
</span> # Convert all sections (h1-h9) to a link so it's easy to link to them.
# If someone knows a better way to do this please change it.
$(REINPLACE) \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 's|(<h[0-9] [^>]*><a xml:id="([^"]*)"></a>)([^<]*)(</h[0-9]>)|\1<a href="#\2">\3</a>\4|g' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 's|(<h[0-9] [^>]*><a id="([^"]*)"></a>)([^<]*)(</h[0-9]>)|\1<a href="#\2">\3</a>\4|g' \
</span> $(GUIDE_RESULT_CHUNK)/*.html
# Add the table of contents to every junked HTML file.
# If someone knows a better way to do this please change it.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/resources/tabs.xsl b/guide/resources/tabs.xsl
</span><span style='display:block; white-space:pre;color:#808080;'>index c10e446..4da2d73 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/resources/tabs.xsl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/resources/tabs.xsl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,7 @@
</span> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:template name="user.header.content">
<div class="book">
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <div xml:id="tabswitch">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <div id="tabswitch">
</span> <a href="/index.html">
<xsl:if test="$chunkmode = 0">
<xsl:attribute name="class">selected</xsl:attribute>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,6 +16,6 @@
</span> </a>
</div>
</div>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <div xml:id="vh-test"></div> <!-- needed for the sticky sidebar -->
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <div id="vh-test"></div> <!-- needed for the sticky sidebar -->
</span> </xsl:template>
</xsl:stylesheet>
</pre><pre style='margin:0'>
</pre>