Making WordPress.org


Ignore:
Timestamp:
02/20/2025 01:41:16 AM (18 months ago)
Author:
dd32
Message:

Trac: Allow the special internal trac CommitTicketReference code block type too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/ticket_change.html

    r14391 r14392  
    2020
    2121        # Unsupported code types get converted to plaintext.
    22         wikidom = re.sub( r'{{{\s*#!(?!xml|php|js|javascript|sql|sh|table|tr|th|td|diff)(\S+)\s', '{{{#!default \n \\1', wikidom, flags=re.IGNORECASE )
     22        wikidom = re.sub( r'{{{\s*#!(?!CommitTicketReference|xml|php|js|javascript|sql|sh|table|tr|th|td|diff)(\S+)\s', '{{{#!default \n \\1', wikidom, flags=re.IGNORECASE )
    2323
    2424        # Convert WikiMarkup.
Note: See TracChangeset for help on using the changeset viewer.