开发者

Java library for wiki format strings? [b] to <strong>, [url] to <a href>

I need a lightweight, easy and customizable (i can control which tags to be enabled/disabled) library to identify and replace "wiki-ish" markup language to HTML in Strings.

For example:

[b]he开发者_JAVA技巧llo[/b] would be <strong>hello</strong>

[url]hello[/url] would be <a href="hello">hello</a>


As MvanGeest mentioned, that specific markup looks like BBCode, in which case you can try something like kefir-bb

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜