通过过滤器AngularJS?HTML纯文本 [英] going through the filter AngularJS? HTMLPLAINTOTEXT

查看:38
本文介绍了通过过滤器AngularJS?HTML纯文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站中:http://miguelsirna.com 我在 post.php 文件中应用了一个过滤器,声明为棱角分明.如果我扩展内容,则在我的本地服务器中.

In my web: http://miguelsirna.com i applied a filter in the post.php file, declared for angular. within my local server if I expands the content.

推荐答案

http://miguelsirna.com/include/json/posts.php 这是模块我应用了 php,下面我留下了图片,因为这是我的第一次尝试,正如你所看到的,我已经实现了一个函数 strip_tags()http://i.stack.imgur.com/lcXhs.png

http://miguelsirna.com/include/json/posts.php this is the module I applied php, below I leave the picture as it was my first attempt , as you can see I've implemented a function strip_tags() http://i.stack.imgur.com/lcXhs.png

这篇关于通过过滤器AngularJS?HTML纯文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆