1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

update changelog

This commit is contained in:
Starbeamrainbowlabs 2016-04-10 11:49:50 +01:00
parent 70f944864c
commit 6e92025963
4 changed files with 12 additions and 5 deletions

View file

@ -1,4 +1,9 @@
# Changelog
## v0.11
## Changed
- Set title of image to alt text
## v0.11-beta2
### Changed

View file

@ -4511,7 +4511,7 @@ class PeppermintParsedown extends ParsedownExtra
$parts = explode("|", trim($source, "{}"));
$parts = array_map("trim", $parts);
// Extract the name of the temaplate page
// Extract the name of the template page
$templatePagename = array_shift($parts);
// If the page that we are supposed to use as the tempalte doesn't
// exist, then there's no point in continuing.
@ -4609,7 +4609,7 @@ class PeppermintParsedown extends ParsedownExtra
* 0 - Everything
* 1 - Alt text
* 2 - Url
* 3 - First param
* 3 - First param (optional)
* 4 - Second Param (optional)
*/
@ -4695,6 +4695,7 @@ class PeppermintParsedown extends ParsedownExtra
"attributes" => [
"src" => $imageUrl,
"alt" => $altText,
"title" => $altText,
"style" => trim($style)
]
]

View file

@ -194,7 +194,7 @@
"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.",
"id": "parser-parsedown",
"lastupdate": 1460190783,
"lastupdate": 1460285309,
"optional": false
}
]

View file

@ -239,7 +239,7 @@ class PeppermintParsedown extends ParsedownExtra
$parts = explode("|", trim($source, "{}"));
$parts = array_map("trim", $parts);
// Extract the name of the temaplate page
// Extract the name of the template page
$templatePagename = array_shift($parts);
// If the page that we are supposed to use as the tempalte doesn't
// exist, then there's no point in continuing.
@ -337,7 +337,7 @@ class PeppermintParsedown extends ParsedownExtra
* 0 - Everything
* 1 - Alt text
* 2 - Url
* 3 - First param
* 3 - First param (optional)
* 4 - Second Param (optional)
*/
@ -423,6 +423,7 @@ class PeppermintParsedown extends ParsedownExtra
"attributes" => [
"src" => $imageUrl,
"alt" => $altText,
"title" => $altText,
"style" => trim($style)
]
]