File "spip-definitions.yaml"

Full path: /home/argothem/www/v4_old/plugins-dist/textwheel/wheels/spip/spip-definitions.yaml
File size: 789 bytes
MIME-type: text/plain
Charset: utf-8

# Feu les dl/dt/dd via -? -! cf https://core.spip.net/issues/1934
definitions-disabled:
  if_match: "/\n-( )?[\?!]\s/S"
  type: all
  disabled: Y
  is_wheel: Y
  replace:
    listes-decoupe-para2:
      match: "\n\n"
      type: split
      is_wheel: Y
      replace:
        def-check:
          if_str: "-"
          if_match: "/-( )?[!\?]\s/S"
          is_wheel: Y
          type: all
          replace:
            def-wrap:
              type: all
              is_callback: Y
              replace: tw_def_wrap
            def-p-titre:
              match: ",(\n-( )?\?\s+)(.*)(?=(\z|\n-)),UsS"
              replace: "<dt>$3</dt>"
            def-p-desc:
              match: ",(\n-(&nbsp;)?!\s+)(.*)(?=(<dt>|</dl>|\z|\n-)),UsS"
              replace: "<dd>$3</dd>"