summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2021-02-06 04:33:51 +0000
committerMatthew Peveler <matt.peveler@gmail.com>2021-02-06 05:07:13 +0000
commite7443d7be5b518ddf0ee660cd97c873d3786eac4 (patch)
tree54bcb6510f68e8076d3357d2889536f320c93bbd
parent371b82494c6f0e04cb165c5efc5f2d6921555d6c (diff)
downloadasciidoc-py3-e7443d7be5b518ddf0ee660cd97c873d3786eac4.tar.gz
fix failing source-highlight-filter tests
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r--CHANGELOG.txt2
-rw-r--r--tests/data/source-highlight-filter-docbook.xml4
-rw-r--r--tests/data/source-highlight-filter-docbook5.xml4
-rw-r--r--tests/data/source-highlight-filter-html4.html4
-rw-r--r--tests/data/source-highlight-filter-html5.html4
-rw-r--r--tests/data/source-highlight-filter-xhtml11.html4
6 files changed, 11 insertions, 11 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 08c0143..0578bdd 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -834,7 +834,7 @@ Version 8.6.0 (2010-08-16)
- Added 'style' and 'role' CSS classes to xhtml11 section templates.
- Added the 'role' element to xhtml11 backend block templates.
- Suppressed md5 module deprecation warning from music and Graphviz filters.
-- Pygments (http://pygments.org/) option added to source code
+- Pygments (https://pygments.org/) option added to source code
highlight filter. Based on Pygments source code filter written by
David Hajage
(http://groups.google.com/group/asciidoc/browse_thread/thread/d8d042f5a3021369/8934ebbb8cb7144b).
diff --git a/tests/data/source-highlight-filter-docbook.xml b/tests/data/source-highlight-filter-docbook.xml
index 2c419fe..11ddbb2 100644
--- a/tests/data/source-highlight-filter-docbook.xml
+++ b/tests/data/source-highlight-filter-docbook.xml
@@ -42,7 +42,7 @@ load time).</simpara></note>
<section id="_gnu_source_highlight">
<title>GNU Source Highlight</title>
<simpara>The default highlighter is the
-<ulink url="http://www.gnu.org/software/src-highlite/">GNU source-highlight</ulink> which
+<ulink url="https://www.gnu.org/software/src-highlite/">GNU source-highlight</ulink> which
can highlight <emphasis>html4</emphasis>, <emphasis>html5</emphasis> and <emphasis>xhtml11</emphasis> outputs. The GNU
source-highlight must be installed and the <emphasis>source-highlight</emphasis> command
must reside in the shell search <emphasis>PATH</emphasis>.</simpara>
@@ -76,7 +76,7 @@ The AsciiDoc <emphasis>encoding</emphasis> attribute is passed to Highlighter us
</section>
<section id="_pygments">
<title>Pygments</title>
-<simpara>The <ulink url="http://pygments.org/">Pygments</ulink> syntax highlighter can be used for
+<simpara>The <ulink url="https://pygments.org/">Pygments</ulink> syntax highlighter can be used for
<emphasis>xhtml11</emphasis> and <emphasis>html5</emphasis> outputs (set the <emphasis>source-highlighter</emphasis> attribute
to <emphasis>pygments</emphasis>).</simpara>
<itemizedlist>
diff --git a/tests/data/source-highlight-filter-docbook5.xml b/tests/data/source-highlight-filter-docbook5.xml
index ee6efed..c0fd81e 100644
--- a/tests/data/source-highlight-filter-docbook5.xml
+++ b/tests/data/source-highlight-filter-docbook5.xml
@@ -41,7 +41,7 @@ load time).</simpara></note>
<section xml:id="_gnu_source_highlight">
<title>GNU Source Highlight</title>
<simpara>The default highlighter is the
-<link xlink:href="http://www.gnu.org/software/src-highlite/">GNU source-highlight</link> which
+<link xlink:href="https://www.gnu.org/software/src-highlite/">GNU source-highlight</link> which
can highlight <emphasis>html4</emphasis>, <emphasis>html5</emphasis> and <emphasis>xhtml11</emphasis> outputs. The GNU
source-highlight must be installed and the <emphasis>source-highlight</emphasis> command
must reside in the shell search <emphasis>PATH</emphasis>.</simpara>
@@ -75,7 +75,7 @@ The AsciiDoc <emphasis>encoding</emphasis> attribute is passed to Highlighter us
</section>
<section xml:id="_pygments">
<title>Pygments</title>
-<simpara>The <link xlink:href="http://pygments.org/">Pygments</link> syntax highlighter can be used for
+<simpara>The <link xlink:href="https://pygments.org/">Pygments</link> syntax highlighter can be used for
<emphasis>xhtml11</emphasis> and <emphasis>html5</emphasis> outputs (set the <emphasis>source-highlighter</emphasis> attribute
to <emphasis>pygments</emphasis>).</simpara>
<itemizedlist>
diff --git a/tests/data/source-highlight-filter-html4.html b/tests/data/source-highlight-filter-html4.html
index 65ede88..d624662 100644
--- a/tests/data/source-highlight-filter-html4.html
+++ b/tests/data/source-highlight-filter-html4.html
@@ -48,7 +48,7 @@ because the configuration file conditional macros are processed at
load time).</td></tr></table>
<h3><a name="_gnu_source_highlight"></a>GNU Source Highlight</h3>
<p>The default highlighter is the
-<a href="http://www.gnu.org/software/src-highlite/">GNU source-highlight</a> which
+<a href="https://www.gnu.org/software/src-highlite/">GNU source-highlight</a> which
can highlight <em>html4</em>, <em>html5</em> and <em>xhtml11</em> outputs. The GNU
source-highlight must be installed and the <em>source-highlight</em> command
must reside in the shell search <em>PATH</em>.</p>
@@ -78,7 +78,7 @@ The AsciiDoc <em>encoding</em> attribute is passed to Highlighter using the
</li>
</ul>
<h3><a name="_pygments"></a>Pygments</h3>
-<p>The <a href="http://pygments.org/">Pygments</a> syntax highlighter can be used for
+<p>The <a href="https://pygments.org/">Pygments</a> syntax highlighter can be used for
<em>xhtml11</em> and <em>html5</em> outputs (set the <em>source-highlighter</em> attribute
to <em>pygments</em>).</p>
<ul>
diff --git a/tests/data/source-highlight-filter-html5.html b/tests/data/source-highlight-filter-html5.html
index 37e4dba..4999f39 100644
--- a/tests/data/source-highlight-filter-html5.html
+++ b/tests/data/source-highlight-filter-html5.html
@@ -784,7 +784,7 @@ load time).</td>
<div class="sect2">
<h3 id="_gnu_source_highlight">GNU Source Highlight</h3>
<div class="paragraph"><p>The default highlighter is the
-<a href="http://www.gnu.org/software/src-highlite/">GNU source-highlight</a> which
+<a href="https://www.gnu.org/software/src-highlite/">GNU source-highlight</a> which
can highlight <em>html4</em>, <em>html5</em> and <em>xhtml11</em> outputs. The GNU
source-highlight must be installed and the <em>source-highlight</em> command
must reside in the shell search <em>PATH</em>.</p></div>
@@ -821,7 +821,7 @@ The AsciiDoc <em>encoding</em> attribute is passed to Highlighter using the
</div>
<div class="sect2">
<h3 id="_pygments">Pygments</h3>
-<div class="paragraph"><p>The <a href="http://pygments.org/">Pygments</a> syntax highlighter can be used for
+<div class="paragraph"><p>The <a href="https://pygments.org/">Pygments</a> syntax highlighter can be used for
<em>xhtml11</em> and <em>html5</em> outputs (set the <em>source-highlighter</em> attribute
to <em>pygments</em>).</p></div>
<div class="ulist"><ul>
diff --git a/tests/data/source-highlight-filter-xhtml11.html b/tests/data/source-highlight-filter-xhtml11.html
index 162f869..4acad78 100644
--- a/tests/data/source-highlight-filter-xhtml11.html
+++ b/tests/data/source-highlight-filter-xhtml11.html
@@ -786,7 +786,7 @@ load time).</td>
<div class="sect2">
<h3 id="_gnu_source_highlight">GNU Source Highlight</h3>
<div class="paragraph"><p>The default highlighter is the
-<a href="http://www.gnu.org/software/src-highlite/">GNU source-highlight</a> which
+<a href="https://www.gnu.org/software/src-highlite/">GNU source-highlight</a> which
can highlight <em>html4</em>, <em>html5</em> and <em>xhtml11</em> outputs. The GNU
source-highlight must be installed and the <em>source-highlight</em> command
must reside in the shell search <em>PATH</em>.</p></div>
@@ -823,7 +823,7 @@ The AsciiDoc <em>encoding</em> attribute is passed to Highlighter using the
</div>
<div class="sect2">
<h3 id="_pygments">Pygments</h3>
-<div class="paragraph"><p>The <a href="http://pygments.org/">Pygments</a> syntax highlighter can be used for
+<div class="paragraph"><p>The <a href="https://pygments.org/">Pygments</a> syntax highlighter can be used for
<em>xhtml11</em> and <em>html5</em> outputs (set the <em>source-highlighter</em> attribute
to <em>pygments</em>).</p></div>
<div class="ulist"><ul>