Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Feb 8, 2021
1 parent fe6f558 commit 29f089f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The four types are :
- tracking
- targeting

And they will be rendered in something like this. Please note the text/plain type that prevents the script for being executed.
And they will be rendered in something like this. Please note the `text/plain` type that prevents the script for being executed.
This is what you should do if you include your scripts manually.

```html
Expand All @@ -34,7 +34,7 @@ This is what you should do if you include your scripts manually.
or for inline scripts
```html
<script type="text/plain" cookie-consent="tracking" src="tracking-performance.js">
<script type="text/plain" cookie-consent="tracking">
console.log("i'm a tracking script");
</script>
```
Expand All @@ -51,8 +51,8 @@ Requirements::javascript('myscript',['cookieconsent' => 'tracking'])

## For php cookies

If you set cookies on the serverside, you can check the CookieConsent::isAllowed method or use the
CookieConsent::setCookie helper.
If you set cookies on the serverside, you can check the `CookieConsent::isAllowed` method or use the
`CookieConsent::setCookie` helper.

## Options

Expand Down

0 comments on commit 29f089f

Please sign in to comment.