Skip to content

Commit

Permalink
[#1432] Review corrections; removed underline from icon
Browse files Browse the repository at this point in the history
  • Loading branch information
linssen814 committed Feb 25, 2025
1 parent e05fa61 commit 88cb969
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/open_inwoner/utils/ckeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ def get_rendered_content(content: str) -> str:
if element.name == "a" and element.attrs.get("href", "").startswith("http"):
# icon & screenreader support
icon = soup.new_tag("span")
icon.attrs.update({"aria-hidden": "true", "class": "material-icons"})
icon.attrs.update(
{
"aria-hidden": "true",
"class": "material-icons text-decoration-none",
}
)
icon.append("open_in_new")

screen_reader_only_text = soup.new_tag("span")
Expand Down

0 comments on commit 88cb969

Please sign in to comment.