summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-05-13 19:45:16 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-21 05:11:05 +0100
commit02c49e983d478fad99db8658180828fea0ab242e (patch)
tree97ee6a98aaa79da42481d1db19954facc919cffd
parent2a062dfa2c6ea58c3eb45ea094bcf71ffc246992 (diff)
fix encodings in links
-rw-r--r--content/html/resources.html4
-rw-r--r--modules/html.source.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/content/html/resources.html b/content/html/resources.html
index ea5413d5..392d28dd 100644
--- a/content/html/resources.html
+++ b/content/html/resources.html
@@ -80,7 +80,7 @@ h2, h3 {
<li>The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional</li>
<li>Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly</li>
<li>Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner</li>
-<li>Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly</li>
+<li>Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall &amp; Jon Orwant; O'Reilly</li>
<li>Higher Order Perl; Mark Dominus; Morgan Kaufmann</li>
<li>The Docker Book; James Turnbull; Kindle</li>
<li>Developing Games in Java; David Brackeen and others...; New Riders</li>
@@ -117,7 +117,7 @@ h2, h3 {
<li>The Off Switch; Mark Cropley; Virgin Books</li>
<li>The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books</li>
<li>Deep Work; Cal Newport; Piatkus</li>
-<li>The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK</li>
+<li>The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon &amp; Schuster UK</li>
<li>The Power of Now; Eckhard Tolle; Yellow Kite</li>
</ul>
<h2>Technical video lectures and courses</h2>
diff --git a/modules/html.source.sh b/modules/html.source.sh
index 7d337b02..3eb2ee4e 100644
--- a/modules/html.source.sh
+++ b/modules/html.source.sh
@@ -53,7 +53,7 @@ html::fromgmi () {
while IFS='' read -r line; do
if [ $is_list -eq 1 ]; then
if [[ "$line" == '* '* ]]; then
- echo "<li>${line/\* /}</li>"
+ echo "<li>$(html::special "${line/\* /}")</li>"
else
is_list=0
echo "</ul>"