Skip to content

Commit

Permalink
Remove RUNE from <h1> on /rune
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Nov 23, 2023
1 parent 8baf834 commit acb5050
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 @@ -2155,7 +2155,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 acb5050

Please sign in to comment.