Skip to content

Commit 20f799e

Browse files
fix: broken test by new version of templ
1 parent a1ca396 commit 20f799e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ module potblog
33
go 1.23.0
44

55
require (
6-
github.com/a-h/templ v0.2.793
6+
github.com/a-h/templ v0.3.819
77
github.com/joho/godotenv v1.5.1
88
github.com/labstack/echo/v4 v4.13.3
99
golang.org/x/net v0.33.0
10+
zombiezen.com/go/sqlite v1.4.0
1011
)
1112

1213
require (
@@ -27,5 +28,4 @@ require (
2728
modernc.org/mathutil v1.6.0 // indirect
2829
modernc.org/memory v1.8.0 // indirect
2930
modernc.org/sqlite v1.33.1 // indirect
30-
zombiezen.com/go/sqlite v1.4.0 // indirect
3131
)

tests/data/TestMarkdownToHTMLResult.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h1 class="article-title-h1">What is Lorem Ipsum? </h1>
1010
setTimeout(() => {
1111
btn.appendChild(btn.firstElementChild.nextElementSibling);
1212
}, 2000);
13-
}</script><button class="article-copy-button" onclick="__templ_copyToClipboard_9a10(&#34;99gzfAI6&#34;)" id="copy-99gzfAI6"><style type="text/css">.svg_stroke_color_f381{color:currentColor;width:1.75rem;height:1.75rem;padding:0.25rem;}</style><svg class="svg_stroke_color_f381" viewBox="0 0 24 24"><use href="#copy"></use></svg><svg class="svg_stroke_color_f381" viewBox="0 0 24 24"><use href="#check"></use></svg></button><p class="article-language">go</p><pre class="article-code"><code id="99gzfAI6">package main
13+
}</script><button class="article-copy-button" onclick="__templ_copyToClipboard_9a10(&#34;99gzfAI6&#34;)" id="copy-99gzfAI6"><style type="text/css">.svg_stroke_color_f381572f{color:currentColor;width:1.75rem;height:1.75rem;padding:0.25rem;}</style><svg class="svg_stroke_color_f381572f" viewBox="0 0 24 24"><use href="#copy"></use></svg><svg class="svg_stroke_color_f381572f" viewBox="0 0 24 24"><use href="#check"></use></svg></button><p class="article-language">go</p><pre class="article-code"><code id="99gzfAI6">package main
1414

1515
import (
1616
"fmt"
@@ -53,7 +53,7 @@ <h1 class="article-title-h1">Where does it come from?</h1>
5353

5454
<p class="article-paragraph">The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>
5555

56-
<blockquote class="article-blockquote standard"><hr><style type="text/css">.svg_stroke_color_f381{color:currentColor;width:1.75rem;height:1.75rem;padding:0.25rem;}</style><svg class="svg_stroke_color_f381" viewBox="0 0 24 24"><use href="#info-circle"></use></svg>Cras vulputate diam ante. Sed tempor rhoncus lectus vel tincidunt. Nulla malesuada maximus mi. Nam a tortor eu dolor dignissim sollicitudin eget eget nisi. Quisque nec sagittis lorem. Cras elementum lacus a ornare interdum. Cras interdum purus sem, nec ornare erat bibendum non. Nullam ullamcorper efficitur enim, nec luctus orci.</blockquote>
56+
<blockquote class="article-blockquote standard"><hr><style type="text/css">.svg_stroke_color_f381572f{color:currentColor;width:1.75rem;height:1.75rem;padding:0.25rem;}</style><svg class="svg_stroke_color_f381572f" viewBox="0 0 24 24"><use href="#info-circle"></use></svg>Cras vulputate diam ante. Sed tempor rhoncus lectus vel tincidunt. Nulla malesuada maximus mi. Nam a tortor eu dolor dignissim sollicitudin eget eget nisi. Quisque nec sagittis lorem. Cras elementum lacus a ornare interdum. Cras interdum purus sem, nec ornare erat bibendum non. Nullam ullamcorper efficitur enim, nec luctus orci.</blockquote>
5757

5858
<h1 class="article-title-h1">Why do we use it?</h1>
5959

0 commit comments

Comments
 (0)