Parse CFML tags in PHP

前端 未结 1 1942
鱼传尺愫
鱼传尺愫 2021-01-16 08:14

Background:

I have been running a site on the blogger platform for the past 5 years. I was using the option of hosting the site on my own server, p

1条回答
  •  再見小時候
    2021-01-16 08:49

    Right now I'm leaning towards the Custom Tags library mentioned in this post as the answer. One of the best features is support for buried or nested tags like the code block below:

    
        This text is transformed by the custom tag.
    Using the default example all the characters should be made into uppercase characters.
    Try changing the type attribute to 'ucwords' or 'ucfirst'.

    ct:lower
    THIS IS LOWERCASE TEXT TRANSFORMED BY THE ct:lower CUSTOM TAG even though it's inside the ct:upper tag.

    I highly recommend downloading the zip file and looking through the examples it contains.

    0 讨论(0)
提交回复
热议问题