How Can I strip HTML from Text in .NET?

后端 未结 9 1823
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-16 02:20

I have an asp.net web page that has a TinyMCE box. Users can format text and send the HTML to be stored in a database.

On the server, I would like to take strip the h

9条回答
  •  悲哀的现实
    2020-12-16 02:52

    As you may have malformed HTML in the system: BeautifulSoup or similar could be used.

    It is written in Python; I am not sure how it could be interfaced - using the .NET language IronPython?

提交回复
热议问题