gpt4 book ai didi

php - 如何从 drupal token 中去除 html 标签

转载 作者:搜寻专家 更新时间:2023-10-31 20:53:37 26 4
gpt4 key购买 nike

我有一个 [content: message] 形式的 drupal token 。我如何从它返回的输出中去除 html 标签。理想情况下,我希望执行 strip_tags($var) 操作。

最佳答案

为什么不能只使用 strip_tags($drupaltokenvariable)

关于php - 如何从 drupal token 中去除 html 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4971439/

26 4 0