Conversation
|
👍 for this. not spamming, but I understand sometimes this will help :) . |
|
(/me nods) If someone uses setRaw() or appendRaw(), and then get(), does that mess up your use case? |
|
so @pmjones so may be you are proposing to use |
|
Ah.... There is an issue here, isn't there? Well, I think there's some options. 1. Assume escaped, users responsibilityI think the idea is that when adding to the title, one is assuming they are $helper->metas()->add(
[
'name' => 'title',
'property' => 'og:title',
'content' => htmlspecialchars_decode($helper->title()->get())
]
);However, this is a little weird as the 2. Assume escaped, add
|
This makes it so I can get the text of the title property without the HTML for
use elsewhere in a layout. For example:
Thoughts?