php包括:ms word生成的html文件和垃圾css

时间:2021-09-07 01:22:40

word generated html sucks, of course. but i unfortunately need to fetch some text from such existing docs to my php pages. the problem is, then it messes up my original page's css. what could be a way out? thanks!

当然,单词生成的HTML很糟糕。但不幸的是,我需要从这些现有的文档中获取一些文本到我的php页面。问题是,然后它弄乱了我的原始页面的CSS。什么可能出路?谢谢!

2 个解决方案

#1


Try this out. It's a ereg function that clears some of the Word HTML out of a string.

试试吧。它是一个ereg函数,用于清除字符串中的某些Word HTML。

#2


or html tidy and here

或者html整洁,在这里

#1


Try this out. It's a ereg function that clears some of the Word HTML out of a string.

试试吧。它是一个ereg函数,用于清除字符串中的某些Word HTML。

#2


or html tidy and here

或者html整洁,在这里