randomouscrap98 / bbscope-rust Goto Github PK
View Code? Open in Web Editor NEWExtensible BBCode parser with scoping rules, auto close tags
Extensible BBCode parser with scoping rules, auto close tags
The url tag doesn't allow any other tag (other than images). But the anchor tag, which still generates the same html element <a>
, allows all tags. Either the url should allow all tags or anchor should be equally restricted (not sure which one is better).
This might be easy but some people, instead of doing [spoiler=yeah yeah]
will do [spoiler spoiler=yeah yeah]
. I think you basically just... need to have an optional (?:\s+{tag})? before the equals, if you don't need to capture the argument.
There's enough types and functions and weirdness to warrant documentation, and everything at least has the rudimentary doc comments.
Oops, I forgot to enforce Send + Sync for the closures so they're usable in more contexts (like warp and maybe other frameworks).
Commit 5fa12f5 already has the fix, but I don't want to publish to crates yet (in case there are other unforseen issues); that's what this issue is for.
The <br> isn't displaying, the section explaining [code] just stops mid sentence, the [*] disappears in the list thing
ScopeInfo::basic
is mentioned in the readme, and its doc comment mentions "a highly common case, you probably want this". However users can't use it, because it's not pub
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.