For Markdown and Markdown Extra, add automatic
IDs (#id) to all headings from h1 to h6. Substitute
all chars that are not alphanumeric with "-".
Works in lib version only.
Explicitly defined IDs will override auto-generated
ones, so there is no need to add a configuration
switch for this change.
Fixes#729.
Bump version.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* substitute break outside of a loop by `return false`
PHP 7 doesn't accept `break` statements outside of loop or switch structures and
returns an error. See https://www.php.net/manual/en/control-structures.break.php
I substituted the `break` by a `return false` which as far as I assume does the same.
* Update the version number
* Update the changelog with version 1.37.4
The HTML escaping needs to be restricted
to comment (and trackback) feeds to avoid
escaping "legal" HTML in entry feeds.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Was "Documentation", is now "Website".
There are no "documentation" links left, so we
can re-brand the plugin_website property to mean
a general information page about the plugin
or its author.
Signed-off-by: Thomas Hochstein <thh@inter.net>
`<details>` and `<summary>` elements should
never be wrapped in `<p></p>`.
See michelf/php-markdown#329.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Spartacus only looks for CamelCased ChangeLog
files to link them.
Plugin version NOT bumped on purpose.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Analyzing the Spartacus creation logfiles
lead to some fixes, mostly old PHP constructors
and some bugs around constants.
Signed-off-by: Thomas Hochstein <thh@inter.net>
evenmt_social will use the first image from the
entry for the OpenGrahp "og:image" meta property
used by Facebook and Twitter; if there is none,
it will fall back to the default image from the
plugin configuration.
The timeline and photo themes support setting
a featured image that is used instead.
Add the possibility to set a social media
image for each entry, regardless of theme.
If there is none set, fall back to timeline
or photo featured images, or the first image
in the enttry body, or the default image from
the plugin configuration (in that order).
Signed-off-by: Thomas Hochstein <thh@inter.net>
The chosen language got lost (reset to "en") after following the next
link, as the language field wasn't part of those links.
Now we choose the language in three steps:
If "language" ist set (after using the language selector form), we use
that.
If it isn't set but a plugin group was chosen, we take the right
language from the filename of that page.
Only if neither is set we fall back to english.
Moreover we keep the current language "selected" in the language
selector dropdown.
Signed-off-by: Thomas Hochstein <thh@inter.net>
URLs and mail adresses don't belong there and
are currently dead anyway.
Links will no longer be shown in the next
patch release.
Bump versions to propagate.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Due to the long list of themes, language
selector and feed list are way, way down
and can easily be overlooked. Move at
least the language selector up to the top.
(We could also cut the complete list of
themes in the sidebar.)
Signed-off-by: Thomas Hochstein <thh@inter.net>
Use the same link as everywhere else.
The privacy policy is, of course, still missing,
but we can add it there. Later on. Sometime.
Signed-off-by: Thomas Hochstein <thh@inter.net>