Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33102, comment 40


Ignore:
Timestamp:
08/20/2015 01:09:51 AM (10 years ago)
Author:
miyarakira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33102, comment 40

    initial v1  
    11To summarize this delightfully tangled thread and lead it to closure..
    22
    3 The original topic was ''Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes''.
     3The original topic was: ''Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes''.
    44
    55{{{
     
    2323Several people gave variations of the same use case - shortcodes inside HTML attributes - including inside of nested shortcodes. These are not specifically related to the original topic, since they're not using quoted shortcode parameters. But the answer is the same as above. This latest comment# 38 is another example. In this case, the shortcode can return the whole input element, instead of just the value.
    2424
    25 In the case of using a shortcode in a `<div>` class (comment# 27), I don't see an easy answer. Also in the same comment, a different topic was introduced: the use of shortcodes inside shortcode parameters: `[shortcode param="[another-shortcode]"]`.  I doubt that this can be parsed correctly without serious regex magic.
     25In the case of using a shortcode in a `<div>` class (comment# 27), I don't see an easy answer. Also in the same comment, a different topic was introduced: the use of shortcodes inside shortcode parameters:
     26
     27{{{
     28[shortcode param="[another-shortcode]"]
     29}}}
     30
     31
     32I doubt that this can be parsed correctly without serious regex magic.
    2633
    2734----