mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
update changelog
This commit is contained in:
parent
70f944864c
commit
6e92025963
4 changed files with 12 additions and 5 deletions
|
@ -1,4 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
## v0.11
|
||||||
|
|
||||||
|
## Changed
|
||||||
|
- Set title of image to alt text
|
||||||
|
|
||||||
## v0.11-beta2
|
## v0.11-beta2
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -4511,7 +4511,7 @@ class PeppermintParsedown extends ParsedownExtra
|
||||||
$parts = explode("|", trim($source, "{}"));
|
$parts = explode("|", trim($source, "{}"));
|
||||||
$parts = array_map("trim", $parts);
|
$parts = array_map("trim", $parts);
|
||||||
|
|
||||||
// Extract the name of the temaplate page
|
// Extract the name of the template page
|
||||||
$templatePagename = array_shift($parts);
|
$templatePagename = array_shift($parts);
|
||||||
// If the page that we are supposed to use as the tempalte doesn't
|
// If the page that we are supposed to use as the tempalte doesn't
|
||||||
// exist, then there's no point in continuing.
|
// exist, then there's no point in continuing.
|
||||||
|
@ -4609,7 +4609,7 @@ class PeppermintParsedown extends ParsedownExtra
|
||||||
* 0 - Everything
|
* 0 - Everything
|
||||||
* 1 - Alt text
|
* 1 - Alt text
|
||||||
* 2 - Url
|
* 2 - Url
|
||||||
* 3 - First param
|
* 3 - First param (optional)
|
||||||
* 4 - Second Param (optional)
|
* 4 - Second Param (optional)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -4695,6 +4695,7 @@ class PeppermintParsedown extends ParsedownExtra
|
||||||
"attributes" => [
|
"attributes" => [
|
||||||
"src" => $imageUrl,
|
"src" => $imageUrl,
|
||||||
"alt" => $altText,
|
"alt" => $altText,
|
||||||
|
"title" => $altText,
|
||||||
"style" => trim($style)
|
"style" => trim($style)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
"author": "Emanuil Rusev & Starbeamrainbowlabs",
|
"author": "Emanuil Rusev & Starbeamrainbowlabs",
|
||||||
"description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds a some weight to your installation, and also *requires* write access to the disk on first load.",
|
"description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds a some weight to your installation, and also *requires* write access to the disk on first load.",
|
||||||
"id": "parser-parsedown",
|
"id": "parser-parsedown",
|
||||||
"lastupdate": 1460190783,
|
"lastupdate": 1460285309,
|
||||||
"optional": false
|
"optional": false
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -239,7 +239,7 @@ class PeppermintParsedown extends ParsedownExtra
|
||||||
$parts = explode("|", trim($source, "{}"));
|
$parts = explode("|", trim($source, "{}"));
|
||||||
$parts = array_map("trim", $parts);
|
$parts = array_map("trim", $parts);
|
||||||
|
|
||||||
// Extract the name of the temaplate page
|
// Extract the name of the template page
|
||||||
$templatePagename = array_shift($parts);
|
$templatePagename = array_shift($parts);
|
||||||
// If the page that we are supposed to use as the tempalte doesn't
|
// If the page that we are supposed to use as the tempalte doesn't
|
||||||
// exist, then there's no point in continuing.
|
// exist, then there's no point in continuing.
|
||||||
|
@ -337,7 +337,7 @@ class PeppermintParsedown extends ParsedownExtra
|
||||||
* 0 - Everything
|
* 0 - Everything
|
||||||
* 1 - Alt text
|
* 1 - Alt text
|
||||||
* 2 - Url
|
* 2 - Url
|
||||||
* 3 - First param
|
* 3 - First param (optional)
|
||||||
* 4 - Second Param (optional)
|
* 4 - Second Param (optional)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -423,6 +423,7 @@ class PeppermintParsedown extends ParsedownExtra
|
||||||
"attributes" => [
|
"attributes" => [
|
||||||
"src" => $imageUrl,
|
"src" => $imageUrl,
|
||||||
"alt" => $altText,
|
"alt" => $altText,
|
||||||
|
"title" => $altText,
|
||||||
"style" => trim($style)
|
"style" => trim($style)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue