Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

textout() equivalent from Planète Casio

Project description

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"].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for textoutpc, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size textoutpc-0.2.1.tar.gz (42.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page