Skip to content

thanhvc/exo-bbcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eXo Forum BBCode rendering mechanism

Abstract

  • Currently, we are handling with complexity rendering, and maybe we have a performance problem. More detail: Default BBCode tag to support in eXo Forum:
No BBCode Tag HTML
1 [i] my italic test [/i]
[I] my italic test [/I]
my italic test
2 [b] my bold test [/b] my bold test
3 [quote] my bold test [/quote] my bold test
4 aa [code] my bold test [/code] bc aamy bold testbc
5 [color=red]Red Text[/color] Red Text
6 [size=15]Red Text[/size] Red Text
7 [url]http://example.com[/url] http://example.com
8 [url]ftp://example.com/file-explorer[/url] ftp://example.com/file-explorer
  • This component which uses to improve the way to parser BBCode Tags in Forum, it also made more easier to understand and maintenance as well.

Default build

Use this command to build project:

mvn clean install

By default, it will run only unit tests.

How to use this library

Sample code:

  • BBCode Rendering

    String bbCode = "[i] my italic test [/i]"; DefaultBBCodeParser parser = newParser(bbCode); String got = parser.process(); assertEquals(" my italic test ", got);

About

Forum BBCode Rendering with JavaCC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages