spip/textwheel | 3 commits
Par Cerdic, le 29 septembre 2022 à 17h28min :
tests: mise à jour des tests unitaires pour le nouveau markup produit par les raccourcis code
Ajouté
tests/data/typo/backtick_block_php.html
tests/data/typo/backtick_block_php.txt
Modifié
tests/data/base/backtick_block.html
tests/data/base/backtick_md_span.html
tests/data/base/backtick_span.html
tests/data/base/cadre_block.html
tests/data/base/code_block.html
tests/data/base/code_span.html
tests/data/base/compound_emphasis.html
tests/data/base/escaping.html
tests/data/base/fenced_code_block.html
tests/data/base/inline_link.html
tests/data/modeles_block/cadre_block.html
tests/data/modeles_block/code_block.html
tests/data/modeles_block/code_span.html
tests/data/modeles_block/compound_emphasis.html
tests/data/modeles_block/escaping.html
tests/data/modeles_block/fenced_code_block.html
tests/data/modeles_block/inline_link.html
tests/data/modeles_inline/cadre_block.html
tests/data/modeles_inline/code_block.html
tests/data/modeles_inline/code_span.html
tests/data/modeles_inline/compound_emphasis.html
tests/data/modeles_inline/escaping.html
tests/data/modeles_inline/fenced_code_block.html
tests/data/modeles_inline/inline_link.html
tests/data/typo/backtick_block.html
tests/data/typo/backtick_md_span.html
tests/data/typo/backtick_span.html
tests/data/typo/cadre_block.html
tests/data/typo/code_block.html
tests/data/typo/code_span.html
tests/data/typo/compound_emphasis.html
tests/data/typo/escaping.html
tests/data/typo/fenced_code_block.html
tests/data/typo/inline_link.html
Détails : https://git.spip.net/spip/textwheel/commit/0144a1cff1f8cbbb713a609ff74ddc8e0d2c3b3c
==============================
Par Cerdic, le 29 septembre 2022 à 17h29min :
fix: détection du langage sur les bloc de code via raccourci triple backtick, et trim des code inline via les raccourcis simple ou double backticks
Modifié
wheels/spip/backticks.php
Détails : https://git.spip.net/spip/textwheel/commit/a869456945da3c9b50e4cfe5064ed9afbc5d40b4
==============================
Par Cerdic, le 29 septembre 2022 à 16h40min :
fix: create_replace n’est plus un type de règle supportée
Refs: #4836
Modifié
engine/textwheel.php
Détails : https://git.spip.net/spip/textwheel/commit/79cea8067babf18f03819a8b5f7229d28fd2fce1