Skip to content

Commit

Permalink
improve: Changed default content to be self-closing
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed Jun 19, 2021
1 parent 512079b commit e46c5a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ index.html
<tr>
<td>content</td>
<td>string</td>
<td>&lt;div id=root>&lt;/div></td>
<td>&lt;div id=root/></td>
<td>The text that will be inject into the final HTML output.</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion readme/usageOptions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
content:
default: '&lt;div id=root>&lt;/div>'
default: '&lt;div id=root/>'
type: string
info: The text that will be inject into the final HTML output.
position:
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class InjectBodyPlugin {
*/
constructor(options) {
this.options = {
content: "<div id=root></div>",
content: "<div id=root/>",
position: "start",
...options,
}
Expand Down

0 comments on commit e46c5a4

Please sign in to comment.