-
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1675311
commit ad4bddb
Showing
4 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Upgrade Instructions | ||
|
||
## 0.14.0 | ||
|
||
### `safe` option deprecated | ||
|
||
The `safe` option has been deprecated and replaced with two new configuration options: | ||
|
||
* `html_input` - How to handle HTML input. Set this option to one of the following values: | ||
- `strip` - Strip all HTML (equivalent to `'safe' => true`) | ||
- `allow` - Allow all HTML input as-is (equivalent to `'safe' => false) | ||
- `escape` - Escape all HTML | ||
|
||
* `allow_unsafe_links` - Whether to allow risky image URLs and links | ||
- `true` - Allow (equivalent to `'safe' => false`) | ||
- `false` - Remove all risky URLs (equivalent to `'safe' => true`) | ||
|
||
Although `safe` will continue to work until 1.0.0 you should consider updating your configuration now if possible. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
"bin": ["bin/commonmark"], | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "0.14-dev" | ||
"dev-master": "0.15-dev" | ||
} | ||
} | ||
} |