[−][src]Function bbclash::bbcode_to_html_ugly
#[no_mangle] pub extern "C" fn bbcode_to_html_ugly(input: &str) -> String
Generates a string of HTML from an &str of BBCode. This function produces ugly output, meaning that any eroneously written BBCode encountered will be included in the final output.
Examples
use bbclash::bbcode_to_html_ugly; assert_eq!(bbcode_to_html_ugly("I'm [colour]missing an argument![/colour]"), "<p>I'm [colour]missing an argument![/colour]</p>");