Skip to content

Commit 52a13ba

Browse files
committed
simplify decorations style for a tag
1 parent e7f36ec commit 52a13ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/backend/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub(crate) fn create_span(document: &Document, cell: &Cell) -> Result<Element, E
1919
if let Some(url) = cell.hyperlink() {
2020
let anchor = document.create_element("a")?;
2121
anchor.set_attribute("href", url)?;
22-
anchor.set_attribute("style", "text-decoration: none; color: inherit;")?;
22+
anchor.set_attribute("style", "text-decoration: none; color: inherit")?;
2323
anchor.set_inner_html(cell.symbol());
2424
span.append_child(&anchor)?;
2525
} else {

0 commit comments

Comments
 (0)