Skip to content

Tags: dereuromark/cakephp-markup

Tags

0.4.4

Toggle 0.4.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Djot markup support (#13)

* Add Djot markup support

Adds support for the Djot markup language using php-collective/djot:

- DjotInterface and DjotMarkup converter class
- DjotHelper view helper for templates
- DjotView for rendering .djot template files directly

Features:
- XSS protection via safeMode (enabled by default)
- XHTML-compatible output option
- Profile-based feature restriction (full, article, comment, minimal)
- Variable substitution in DjotView templates using {{varName}} syntax

Djot is a modern markup language created by John MacFarlane (author of
CommonMark/Pandoc), offering cleaner syntax and more consistent behavior
than Markdown.

0.4.3

Toggle 0.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix code quality and security issues (Issues 3, 4, 5, 7, 8) (#12)

* Fix code quality and security issues

VideoFilter Improvements:
- Fix uninitialized variable bug (initialize $t = null before conditional use)
- Improve regex validation (check preg_match() !== 1 for proper error handling)
- Replace empty() with direct boolean check for cleaner code
- Document incomplete TODO with explanation of timestamp limitation

Security Enhancements:
- Add class validation before dynamic instantiation in BbcodeHelper
- Add class validation before dynamic instantiation in MarkdownHelper
- Validate classes exist and implement required interfaces
- Prevent potential code injection via invalid converter classes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix phpstan

---------

Co-authored-by: Claude <noreply@anthropic.com>

0.4.2

Toggle 0.4.2's commit message
Update CI

0.4.1

Toggle 0.4.1's commit message
Fix up plugin name.

0.4.0

Toggle 0.4.0's commit message
Merge remote-tracking branch 'origin/master' into cake5

# Conflicts:
#	phpunit.xml.dist

0.3.2

Toggle 0.3.2's commit message
Fix up phpunit config

0.3.1

Toggle 0.3.1's commit message
Allow v2 of commonmark

0.3.0

Toggle 0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge branch 'master' into cake4

0.2.1

Toggle 0.2.1's commit message
meta files.

0.2

Toggle 0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update .travis.yml