aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/markdown/markdown.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix removal of on=... attributes from html generated from markdownDennis Verspuij2018-03-191-1/+1
|
* Executes daily hooks before creating columns.kalvn2018-02-011-12/+11
|
* Shaarli's translationArthurHoaro2017-10-221-2/+19
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* Add a whitelist of protocols for URLsArthurHoaro2017-05-251-4/+33
| | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* Add markdown_escape settingArthurHoaro2017-02-281-11/+18
| | | | | | | | | | | | | This setting allows to escape HTML in markdown rendering or not. The goal behind it is to avoid XSS issue in shared instances. More info: * the setting is set to true by default * it is set to false for anyone who already have the plugin enabled (avoid breaking existing entries) * improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof * mention the setting in the plugin README
* Markdown: fixes feed rendering with nomarkdown tagArthurHoaro2016-11-221-8/+19
| | | | | | | | | | | * make sure we match exactly `nomarkdown` tag * pass the whole link data to stripNoMarkdownTag() to: * strip the noMD tag in taglist (array) * strip the tag in tags (string) Fixes #689 tmp
* Fix an issue with links not being reversed in code blocksArthurHoaro2016-10-221-5/+6
| | | | | | Fixes #672 + Markdown to HTML unit test
* Use Composer to import Parsedown libraryArthurHoaro2016-10-221-2/+0
| | | | Reference #613
* Hashtag systemArthurHoaro2016-06-061-2/+39
| | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
* The tag is no longer privateArthurHoaro2016-05-301-3/+16
| | | | A private tag is never loaded for visitor, making this feature useless.
* Process feeds content with MarkdownArthurHoaro2016-03-261-0/+19
|
* Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being ↵ArthurHoaro2016-03-211-0/+30
| | | | | | parsed with markdown Also add the tag in tag list in edit_link, so it will appear on autocompletion.
* Avoids populating a markdown empty container if there's no description.kalvn2016-02-281-1/+4
|
* Markdown: don't escape content + sanitize sensible tagsArthurHoaro2016-02-191-8/+29
| | | | Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
* PLUGIN MarkdownArthurHoaro2016-01-031-0/+158
Parse link description in Markdown (HTML) before rendering. * hard remove of Shaarli's HTML before parsing. * Using Parsedown <https://github.com/erusev/parsedown> PHP lib. * Includes basic markdown CSS. * Style: removed 400px height max limit for shaares. * Unit tests.