View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034040 | mantisbt | markdown | public | 2024-03-13 08:03 | 2024-09-29 13:15 |
Reporter | hotzeplotz | Assigned To | community | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.27.0 | Fixed in Version | 2.27.0 | ||
Summary | 0034040: Markdown processing code cleanup (part 2) | ||||
Description | Track remaining changes in 0030919 that were not implemented in 2.26.0. 4. cleanup the blockHeader partThe Tests
The Tests todo: Clarify what a valid issue mention is.
Modify the regex to meet the mantis requirements. see https://github.com/mantisbt/mantisbt/pull/1929 5. cleanup formatting process
Parsedown provides a usefull method called After that and merging all parts together the whole part looks very nice and its a huge impact for user experience. The branches are all independent but could make it a cascading series. What do you think about? I am not experienced in contributing, so this may look strange to you, but I have no idea what the right approach is. todo
Fixing this todos would be a really nice finishing point. | ||||
Tags | No tags attached. | ||||
MantisBT: master 95d687d0 2024-03-13 08:10 grummbeer Committer: community Details Diff |
Markdown processing code cleanup, step 4 - tests Issue 0034040, PR https://github.com/mantisbt/mantisbt/pull/1929 Signed-off-by: Damien Regad <dregad@mantisbt.org> |
Affected Issues 0034040 |
|
mod - plugins/MantisCoreFormatting/tests/MarkdownTest.php | Diff File | ||
MantisBT: master 3aec6e68 2024-03-31 23:15 grummbeer Committer: dregad Details Diff |
Clean up markdown processing - Process input via Markdownparser and return the result, no further text processing. - During parsing, catch all <code> blocks and replace them with a hash value. - After the markup is returned from Parsedown, apply mentions and links - Restore the untouched <code> Blocks back in place. Fixes 0034040, PR https://github.com/mantisbt/mantisbt/pull/1976 Also fixes 0022315, 0022320, 0024241, 0024628, 0024810, 0022231, 0023738 Signed-off-by: Damien Regad <dregad@mantisbt.org> |
Affected Issues 0022231, 0022315, 0022320, 0023738, 0024241, 0024628, 0024810, 0034040, 0034393 |
|
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php | Diff File | ||
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php | Diff File |