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

fix: resolve banning by changing topic request api #118

Closed
wants to merge 1 commit into from
Closed

fix: resolve banning by changing topic request api #118

wants to merge 1 commit into from

Conversation

closure11
Copy link

@closure11
Copy link
Author

第一次写rust,有不合适的地方请随意修改:D

parent_forum, tpcurl, last_post_date 这三个没找到对应的字段 line139,也不太确定具体的含义,不过我自己用了一段时间暂时没发现有什么问题

@closure11
Copy link
Author

closure11 commented Jun 20, 2022

发现正文的格式区别还是挺大的😢新的接口用的是类似html的富文本标签,比如原本文本的着色[color=red]内容[/color],现在是<span class="red">内容</span>,目前这样改还不完善

另外这个接口返回的富文本标签的格式也有些不一样,比如回复评论的楼层,旧接口的标签是[b],这个接口是<b>

<b>Reply to [pid=618531937,32339526,1]Reply[\/pid] Post by [uid=34387419]熊233[\/uid] (2022-06-16 12:11)<\/b>实付款46是怎么做到的?

[b]Reply to [pid=618531937,32339526,1]Reply[/pid] Post by [uid=34387419]熊233[/uid] (2022-06-16 12:11)[/b]实付款46是怎么做到的?

我给语法解析标签的部分加了方括号的判断能解决这个问题,但是不确定会不会对其他case有影响

@closure11 closure11 closed this Jul 6, 2022
@closure11 closure11 deleted the ethan11 branch September 18, 2023 03:40
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

Successfully merging this pull request may close these issues.

1 participant