Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表格的大片空白~ #93

Open
huxuan opened this issue May 9, 2015 · 4 comments
Open

表格的大片空白~ #93

huxuan opened this issue May 9, 2015 · 4 comments

Comments

@huxuan
Copy link
Member

huxuan commented May 9, 2015

RT

Example: http://www.chexie.net/bbs/content/?bid=1&tid=6881&p=1

@ckcz123
Copy link
Member

ckcz123 commented May 9, 2015

我好像知道怎么做了:
https://github.com/CAPU-ENG/CAPUBBS/blob/master/bbs/lib/mainfunc.php#L122
将第122行的
$html=str_replace(chr(10), "<br>",$html);
改成
if (!ishtml) {
$html=str_replace(chr(10), "<br>",$html);
}
就可以了
也就是将这一句话包裹在if里面。

你们谁pr一下吧。

@ckcz123
Copy link
Member

ckcz123 commented May 9, 2015

https://github.com/CAPU-ENG/CAPUBBS/blob/master/api/client.php#L609
的609行也要按照上面说的方式同样去改。

@huxuan
Copy link
Member Author

huxuan commented May 9, 2015

@zhzhzoo
Copy link
Contributor

zhzhzoo commented May 10, 2015

@ckcz123 问一下这两个 translate 函数需要有什么区别呀~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants