Skip to content

Commit

Permalink
Remove RUNE from <h1> on /rune (#2728)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Nov 23, 2023
1 parent 309d7b6 commit 5a9872b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/subcommand/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ mod tests {
StatusCode::OK,
format!(
r".*<title>Rune AAAAAAAAAAAAA</title>.*
<h1>Rune AAAAAAAAAAAAA</h1>
<h1>AAAAAAAAAAAAA</h1>
<iframe .* src=/preview/{txid}i0></iframe>
<dl>
<dt>id</dt>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/rune.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mod tests {
index: 0,
}),
},
r"<h1>Rune BCGDENLQRQWDSLRUGSNLBTMFIJAV</h1>
r"<h1>BCGDENLQRQWDSLRUGSNLBTMFIJAV</h1>
<iframe .* src=/preview/0{64}i0></iframe>
<dl>
<dt>id</dt>
Expand Down
2 changes: 1 addition & 1 deletion templates/rune.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>Rune {{ self.entry.rune }}</h1>
<h1>{{ self.entry.rune }}</h1>
%% if let Some(parent) = self.parent {
{{Iframe::main(parent)}}
%% }
Expand Down

0 comments on commit 5a9872b

Please sign in to comment.