- 23 Feb, 2022 1 commit
-
-
Michael Hamann authored
* Properly handle metadata blocks. * Remove useless continue-statements. * Migrate test to JUnit 5. * Add a test with actual XWiki syntax to avoid a regression.
-
- 22 Feb, 2022 3 commits
-
-
Marius Dumitru Florea authored
-
Marius Dumitru Florea authored
-
Marius Dumitru Florea authored
-
- 17 Feb, 2022 3 commits
-
-
Michael Hamann authored
XRENDERING-628: Treat images that are alone in a paragraph and have a label as captioned figure
-
Michael Hamann authored
* Print empty parameters when the next event is a begin format event with non-empty parameters.
-
Michael Hamann authored
The test is actually passing, the space just needs to be escaped accordingly.
-
- 14 Feb, 2022 2 commits
-
-
Michael Hamann authored
* Undo parser changes. We instead use the existing nesting support via escaping. * Make sure the label of references is properly escaped, this fixes verbatim link syntax in captions not being escaped. The new code escapes more than strictly necessary to make sure escaping works reliably. * Remove hacks for link label escaping.
-
Michael Hamann authored
* Detect paragraphs with a single image with label and transform them into a figure in the parser. * Handle figure and figure caption events in the XWiki syntax renderer. * Introduce a chaining listener to analyze the content of the figure. * Add tests to test the new syntax. * Extend parser to allow nested links if it ends with an image reference. * Transparently add and remove a class="image" parameter.
-
- 09 Feb, 2022 2 commits
-
-
Thomas Mortagne authored
-
Michael Hamann authored
* Switch to HTML 5 when the output syntax is HTML 5 or annotated HTML 5. * Change the default output syntax to HTML 5. * Do not assume that the rendering context has the target syntax set. * Adapt tests. * Migrate the unit test to Junit 5. * Support "htmlmacro+xhtml/1.0" as alias for "xhtmlmacro/1.0" to avoid further special handling for the old hint. * Indicate the actual HTML target syntax in the result.
-
- 07 Feb, 2022 15 commits
-
-
Vincent Massol authored
-
Thomas Mortagne authored
-
Michael Hamann authored
* Change since-comments to 14.1RC1. * Fix parent version.
-
Michael Hamann authored
* Add missing XHTML_5 entry to Syntax class.
-
Michael Hamann authored
* Rename XWikiSpanTagHandler to XHTML5SpanTagHandler to avoid confusion. * Change HTML5 to XHTML5 in a few cases.
-
Michael Hamann authored
* Add missing unstable-annotations and since-comments.
-
Michael Hamann authored
* Add a dependency to the xhtml/1.0 test-jar.
-
Michael Hamann authored
* Create a new XHTML 5 parser module.
-
Michael Hamann authored
* Add WikiModel events for figure and figure captions. * Add a (basic) parser for HTML 5. * Add a (basic) parser for XHTML 5. * Handle the figure and figcaption tags. * Handle span-tags with monospace and verbatim content. * Add several tests for monospace content. * Add a test case for parsing figure and figure caption.
-
Thomas Mortagne authored
-
Michael Hamann authored
* Check in LookaheadChainingListenerTest that all methods are implemented, forward the correct event and give the correct lookahead. * Added test case for CompositeListener.
-
Thomas Mortagne authored
-
Michael Hamann authored
* Save parameters in endListItem. * Add a QueueListenerTest.
-
Thomas Mortagne authored
-
Thomas Mortagne authored
-
- 04 Feb, 2022 2 commits
-
-
Michael Hamann authored
XRENDERING-644: AbstractChainingListener has no compatibility mode for endListItem without parameters * Add missing version-annotation
-
Michael Hamann authored
XRENDERING-644: AbstractChainingListener has no compatibility mode for endListItem without parameters * Stop the propagation to the parent once a class with both methods has been found, see also XRENDERING-646. * Rewrite using streams to reduce cognitive complexity metric. * Do not use separate compatibility for begin and end of list items.
-
- 03 Feb, 2022 2 commits
-
-
Michael Hamann authored
XRENDERING-644: AbstractChainingListener has no compatibility mode for endListItem without parameters * Fix name of test case.
-
Michael Hamann authored
XRENDERING-644: AbstractChainingListener has no compatibility mode for endListItem without parameters * Extract a ListenerMethodProvider from BlockStateChainingListenerTest. * Add separate compatibility mode for endListItem without parameters. * Extend AbstractChainingListenerTest to test that all methods correctly forward in the chain. * Some coding style/SonarLint fixes.
-
- 01 Feb, 2022 3 commits
-
-
Vincent Massol authored
-
Vincent Massol authored
This reverts commit 5e33b8f2.
-
Vincent Massol authored
-
- 28 Jan, 2022 3 commits
-
-
Vincent Massol authored
-
Vincent Massol authored
-
* As discussed in https://github.com/xwiki/xwiki-rendering/pull/200, the exception is thrown instead.
-
- 26 Jan, 2022 2 commits
-
-
Thomas Mortagne authored
-
Simpel authored
Currently translated at 100.0% (7 of 7 strings) Translation: XWiki Rendering/Macro transformation Translate-URL: https://l10n.xwiki.org/projects/xwiki-rendering/macro-transformation/de/
-
- 25 Jan, 2022 2 commits
-
-
Simon Urli authored
-
Simon Urli authored
-