Replace the HTML/{placeholder} markup with templates that can be fed into the Twig engine.

This will probably allow some of the simpler callback tags (eg. [node], [url], etc.) to become template tags as well.

Finally (in what is a big feature kill): Remove PHP custom tags entirely. A lot of the simpler control-flow stuff can be accomplished with a template, and the rest can be done by creating a custom module. Using eval() is terribly out of fashion.

The upgrade path for this is going to be a bit iffy. Ordinary templates need to be converted (a simple pattern replacement), while PHP custom tags need to be completely disabled to avoid them getting exposed in the filter.

Comments

cburschka’s picture

Oof.

  • cburschka committed 1082b53 on 8.x-3.x
    Issue #2472767: Convert tags into plugins
    
    This is the first pass of a...

  • cburschka committed c77cbf0 on 8.x-3.x
    Issue #2472767, #2474505.
    
    Starting work on implementing custom tags as...

  • cburschka committed f111324 on 8.x-3.x
    Issue #2472767, #2474505. add/edit/delete actions.
    
    The XBBCodeCustomTag...

  • cburschka committed b1b2718 on 8.x-3.x
    Issue #2472767, #2474505. Implement a Deriver.
    
    The deriver now creates...

  • cburschka committed 3252807 on 8.x-3.x
    Issue #2472767, #2474505. Fix the deriver.
    
    This will pass the entity...

  • cburschka committed aa0e581 on 8.x-3.x
    Issue #2474505: Make template tags work properly.
    
    - return to the...
cburschka’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev
Status: Active » Fixed

Done.

  • cburschka committed 1082b53 on 9.x-1.x
    Issue #2472767: Convert tags into plugins
    
    This is the first pass of a...
  • cburschka committed 3252807 on 9.x-1.x
    Issue #2472767, #2474505. Fix the deriver.
    
    This will pass the entity...
  • cburschka committed aa0e581 on 9.x-1.x
    Issue #2474505: Make template tags work properly.
    
    - return to the...
  • cburschka committed b1b2718 on 9.x-1.x
    Issue #2472767, #2474505. Implement a Deriver.
    
    The deriver now creates...
  • cburschka committed c77cbf0 on 9.x-1.x
    Issue #2472767, #2474505.
    
    Starting work on implementing custom tags as...
  • cburschka committed f111324 on 9.x-1.x
    Issue #2472767, #2474505. add/edit/delete actions.
    
    The XBBCodeCustomTag...

  • cburschka committed 1082b53 on 9.x-2.x
    Issue #2472767: Convert tags into plugins
    
    This is the first pass of a...
  • cburschka committed 3252807 on 9.x-2.x
    Issue #2472767, #2474505. Fix the deriver.
    
    This will pass the entity...
  • cburschka committed aa0e581 on 9.x-2.x
    Issue #2474505: Make template tags work properly.
    
    - return to the...
  • cburschka committed b1b2718 on 9.x-2.x
    Issue #2472767, #2474505. Implement a Deriver.
    
    The deriver now creates...
  • cburschka committed c77cbf0 on 9.x-2.x
    Issue #2472767, #2474505.
    
    Starting work on implementing custom tags as...
  • cburschka committed f111324 on 9.x-2.x
    Issue #2472767, #2474505. add/edit/delete actions.
    
    The XBBCodeCustomTag...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.