Comments (1)
I think you're probably right. I changed TagOptions.strip to default to False in 80ab44c, but kept lists and quotes set to strip, since they're typically block-level elements anyway. I think strip=False is probably a safer (at least more predictable) default for new tags, anyway. If you want to pull down the latest and try it out, I can release a new version to PyPI in the next couple days.
from bbcode.
Related Issues (20)
- Problem with :[ HOT 1
- Possible improvements to linker HOT 8
- Quoted option values are cut on square bracket HOT 3
- Parsing links not working correctly HOT 1
- Obscure XSS using url tag HOT 5
- Option to use custom tag opener/closer on formatter level HOT 1
- url should allow specifying target and rel attributes HOT 5
- Problem: lines too looong HOT 4
- Quotation marks in brackes confuses parser HOT 3
- Formatters should only transform their contents and not the contents of their children HOT 8
- Unvalid BBCode Generates HTML HOT 3
- url bbcode replaces \n with <br> tag HOT 1
- "Dash" symbols inside code block HOT 2
- Output is html escaped even if `escape_html=False` HOT 3
- URLs with ampersand seem to break HOT 2
- make tag options dict case-insensitive
- replace_links=False doesn't work on video tag/mp4
- Unclosed "tag" treated as tag HOT 2
- Question about simple_formatter
- Cosmetic replacement within list tag even when replace_cosmetic=False HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbcode.