Render or convert Html to 'formatted' Text (.NET)

前端 未结 2 1435
死守一世寂寞
死守一世寂寞 2020-12-31 13:11

I\'m importing some data from another test/bug tracking tool into tfs, and I would like to convert it\'s description, which is in simple HTML, so a plain string, where the \

2条回答
  •  情话喂你
    2020-12-31 13:56

    Rather than regex, you could try loading it into the HTML agility pack? If it was xhtml, then an xslt transformation might be a good option.

提交回复
热议问题