Skip to content

Commit

Permalink
Make raw HTML more scary
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Sep 5, 2024
1 parent 60f34e1 commit 369d2e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/learn/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ Sometimes, you may wish to embed an existing HTML string inside of PyHTML. You
can do this using the `p.DangerousRawHtml` tag.

```py
>>> raw = p.DangerousRawHtml("<p>Wowee!</p>")
>>> raw = p.DangerousRawHtml("<p>Scary!</p>")
>>> print(str(raw))
<p>Wowee!</p>
<p>Scary!</p>

```

Expand Down

0 comments on commit 369d2e8

Please sign in to comment.