{"full_name":"erusev/parsedown","owner":"erusev","name":"parsedown","shard":"1","url":"https://github.com/erusev/parsedown","description":"Better Markdown Parser in PHP","homepage":"https://parsedown.org","topics":["markdown-parser","markdown","parser","php"],"tag_pages":["markdown","parser","php"],"language":"PHP","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/184170?u=371a2d254c265973cdd81820ce8ece52d94e9b2f&v=4","created_at":"2013-07-10T20:23:25Z","pushed_at":"2026-02-18T15:50:34Z","metrics":{"stars":15049,"forks":1131,"watchers":211,"issues":614,"prs":326,"releases":27,"issues_open":127,"issues_closed":487,"prs_open":55,"prs_closed":137,"prs_merged":134,"discussions":0},"growth":{"day":{"stars":2,"forks":0,"base_day":"2026-11-15"},"week":{"stars":2,"forks":-2,"base_day":"2026-11-04"},"month":{"stars":0,"forks":-3,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[15059,15059,15058,15058,15059,15060,15060,15060,15060,15060,15059,15059,15059,15060,15059,15060,15061,15060,15059,15057,15057,15057,15057,15057,15057,15057,15057,15057,15054,15053,15054,15054,15054,15053,15053,15054,15053,15051,15050,15049,15049,15049,15050,15050,15048,15048,15048,15048,15048,15049,15050,15050,15049,15048,15048,15046,15047,15046,15047,15047,15045,15048,15049,15046,15047,15047,15049],"forks":[1135,1135,1135,1135,1135,1135,1135,1135,1134,1134,1135,1135,1135,1135,1135,1134,1135,1135,1135,1136,1136,1136,1136,1135,1135,1135,1135,1133,1133,1133,1132,1132,1132,1132,1133,1133,1133,1133,1133,1133,1133,1134,1134,1134,1135,1135,1135,1135,1135,1135,1135,1135,1135,1134,1133,1133,1133,1133,1133,1133,1131,1131,1131,1131,1131,1131,1131],"watchers":[212,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,213,214,214,214,214,214,212,212,212,212,212,212,212,212,212,212,212,null,212,212,212,212,211,211],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,127,127,127,127,127,127],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,55,55,55,55,55,55]},"boards":{},"same_owner":[],"issues":[{"number":531,"title":"Parsedown does not treat emphasis tags (*, _, etc.) as literal when spaced out","comments":12,"created_at":"2017-09-27T15:13:07Z"},{"number":443,"title":"Parsedown fails with long text","comments":11,"created_at":"2016-10-14T04:25:34Z"},{"number":763,"title":"Class ParsedownExtraTest does not comply with psr-0 autoloading standard","comments":8,"created_at":"2020-04-24T13:33:33Z"},{"number":301,"title":"Parse tables without header","comments":8,"created_at":"2015-03-25T20:17:26Z"},{"number":493,"title":"Feature request: Remove markdown from plain text","comments":7,"created_at":"2017-04-24T00:23:10Z"},{"number":198,"title":"Emphasis management error","comments":7,"created_at":"2014-07-30T13:47:04Z"},{"number":83,"title":"No way to link to Markdown/Parsedown comparison on parsedown.org","comments":7,"created_at":"2014-02-02T21:44:15Z"},{"number":505,"title":"Complex URL not parsed properly","comments":6,"created_at":"2017-05-20T13:09:05Z"}],"discussions":[],"latest_release":{"name":"1.8.0","tag":"1.8.0","published_at":"2026-02-16T12:37:27Z","body":"The first stable release in over six years. Requires PHP 7.1+.\n\n## Breaking Changes\n\n- **PHP 7.1 minimum** -- dropped support for PHP 5.3, 5.4, 5.5, 5.6, and 7.0.\n- **List separation by marker type** -- lists using different markers (`*`, `+`, `-`, or switching between `.` and `)` for ordered lists) are now treated as separate lists, matching the CommonMark spec.\n- **Lazy blockquotes** -- consecutive blockquotes separated by a blank line are no longer merged into one, per CommonMark.\n- **Sparse HTML blocks** -- blank lines inside block-level HTML are now wrapped in `<p>` tags instead of being preserved as-is.\n- **Empty ATX headings** -- `#` and `##` on their own now produce `<h1></h1>` and `<h2></h2>` instead of being treated as paragraphs.\n- Extensions accessing block internals may need to update: the element structure uses `element` instead of `text` in some places (e.g. `$Block['element']['element']['text']` instead of `$Block['element']['text']['text']`).\n\n## Security\n\n- Regex patterns throughout the parser now use possessive quantifiers (`*+`, `++`) to prevent catastrophic backtracking (ReDoS). This addresses denial-of-service vectors where malformed emphasis markers or other adversarial input could cause memory exhaustion or hangs.\n- Safe mode now sanitizes nested elements correctly via recursive AST traversal. Previously, sanitization only applied at the top level.\n- Extensions can mark self-produced HTML as trusted using `allowRawHtmlInSafeMode` so it isn't escaped in safe mode, while untrusted input remains escaped.\n\n## PHP Compatibility\n\n- Fixed implicit nullable parameter deprecations for PHP 8.4+.\n- Updated PHPUnit dependency and test infrastructure for modern PHP.\n- CI moved from Travis CI to GitHub Actions.\n\n## CommonMark Compliance\n\n- Setext headings now handle leading/trailing spaces correctly.\n- ATX heading closing `#` sequences are trimmed properly (e.g. `# # of levels # #` renders as `<h1># of levels #</h1>`).\n- Ordered lists support `)` as a marker in addition to `.`.\n- Ordered lists starting with a number other than 1 no longer interrupt paragraphs.\n- One-column tables are now supported.\n- Fenced code blocks require the closing fence to have at least as many backticks/tildes as the opening fence.\n- HTML comments follow the CommonMark spec more closely.\n- Email autolinks validate against the CommonMark email definition.\n- Escaped tilde characters (`\\~\\~`) are no longer treated as strikethrough.\n\n## New Features\n\n- **Strict mode** (`setStrictMode(true)`) -- requires a space after `#` in ATX headings (CommonMark-compliant behavior).\n\n## Bug Fixes\n\n- Fixed \"Uninitialized string offset\" errors on certain inputs.\n- Fixed adjacent blockquotes being incorrectly merged.\n- Fixed line-break standardization when using the `line()` method directly.\n- Fixed table header validation (headers containing newlines are no longer accepted).\n- Fixed spaces in fenced code block class names.\n","is_prerelease":false},"readme":false,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}