Skip to content

Commit

Permalink
Merge 4c20ab1 into 04541ec
Browse files Browse the repository at this point in the history
  • Loading branch information
vfaronov committed Mar 10, 2017
2 parents 04541ec + 4c20ab1 commit c414ba8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,21 @@ with d:
<div id="header"></div>
```

And text nodes can be added with the `dominate.util.text` function:

```python
from dominate.util import text
para = p(__pretty=False)
with para:
text('Have a look at our ')
a('other products', href='/products')

print(para)
```
```html
<p>Have a look at our <a href="/products">other products</a></p>
```


Decorators
----------
Expand Down

0 comments on commit c414ba8

Please sign in to comment.