2
0
Fork 0
Python port of Planète Casio's BBcode translator.
Go to file
Thomas Touhey d39a356194
Bumped version to 0.2.1
2018-11-01 23:45:36 +01:00
docs Corrected bugs with superblocks and raw management. 2018-11-01 23:40:50 +01:00
scripts Having *other* bugs now. 2018-06-21 00:43:03 +02:00
test Continued, not good for 0.3 yet. 2018-08-25 20:28:05 +02:00
textoutpc Bumped version to 0.2.1 2018-11-01 23:45:36 +01:00
.editorconfig Continued. 2018-01-16 13:34:11 +01:00
.gitignore Using Pipfile now, it adds colors. 2018-07-30 14:51:38 +02:00
LICENSE.txt Updated docs and project structure, dumped to 0.1.1 2018-07-27 02:25:38 +02:00
MANIFEST.in Updated docs and project structure, dumped to 0.1.1 2018-07-27 02:25:38 +02:00
Makefile Corrected bugs with superblocks and raw management. 2018-11-01 23:40:50 +01:00
Pipfile Mainly added 'checkdocs' and updated Pipfile. 2018-09-11 02:20:08 +02:00
Pipfile.lock Mainly added 'checkdocs' and updated Pipfile. 2018-09-11 02:20:08 +02:00
README.rst Corrected bugs with superblocks and raw management. 2018-11-01 23:40:50 +01:00
setup.cfg Continued, not good for 0.3 yet. 2018-08-25 20:28:05 +02:00
setup.py Corrected development environment. 2018-07-30 15:12:54 +02:00

README.rst

Planète Casio's textout() BBcode markup language translator

This module contains a BBcode to HTML translator for Planète Casio. For more information, read the documentation accessible on the official website.

Warning

If you are accessing this repository from Planète Casio's forge, keep in mind that it is only a mirror and that the real repository is located in my forge for now.

What is left to do

  • Implement the not_within_itself attribute (for [*]).
  • Implement the allowed_tags attribute to only allow a set of tags within itself.
  • Implement the only_allowed_tags attribute (for [list] blah [*] to ignore blah and anything outside of [*] tags which is in allow_tags).
  • Add an [imgurl] tag?
  • Manage lightscript (or even markdown?) as output languages;
  • Check where the errors are to display them to the user:
    • Count character offset, line number and column number in the lexer;
    • Produce readable exceptions;
    • Make a clean interface to transmit them;
  • Check why exceptions on raw tags effectively escape the content, as it shouldn't…?
  • Look for security flaws (we really don't want stored XSS flaws!).
  • Implement match names (such as \[\*+\] for lists).
  • Manage keywords with tags such as [tag key=value other="something else"].