Skip to content

Commit

Permalink
Fix markup error in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoerrmann committed Nov 18, 2021
1 parent 1d48c78 commit ad73a5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Template:
Snippets `/site/snippets/elements/p.php`:

```php
<div id="wrapper">
<div class="wrapper">
<p<?=e($position === 1, 'class="intro"')?>>
<?= $content ?>
</p>
Expand All @@ -68,10 +68,10 @@ Snippets `/site/snippets/elements/p.php`:
Output:

```php
<div id="wrapper">
<div class="wrapper">
<p class="intro">These are Markdown paragraphs that an editor wrote that needs to be wrapped with special markup.</p>
</div>
<div id="wrapper">
<div class="wrapper">
<p>But the editor shouldn't have to care about markup in his Markdown document.</p>
</div>
```
Expand Down

0 comments on commit ad73a5a

Please sign in to comment.