Skip to content

Commit

Permalink
XWIKI-21813: Migrate to CSS3 parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelleduc committed Jan 18, 2024
1 parent fcb4699 commit 801128c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
import org.xwiki.rendering.wiki.WikiModelException;

import com.steadystate.css.parser.CSSOMParser;
import com.steadystate.css.parser.SACParserCSS21;
import com.steadystate.css.parser.SACParserCSS3;

/**
* Implementation using the Document Access Bridge ({@link DocumentAccessBridge}).
Expand Down Expand Up @@ -134,7 +134,7 @@ public class XWikiWikiModel implements WikiModel
*
* @see <a href="https://jira.xwiki.org/browse/XWIKI-5625">XWIKI-5625: PDF styling doesn't work anymore</a>
*/
private final CSSOMParser cssParser = new CSSOMParser(new SACParserCSS21());
private final CSSOMParser cssParser = new CSSOMParser(new SACParserCSS3());

/**
* {@inheritDoc}
Expand Down

0 comments on commit 801128c

Please sign in to comment.