-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbbcode.1
More file actions
50 lines (50 loc) · 1.19 KB
/
bbcode.1
File metadata and controls
50 lines (50 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.TH bbcode 1
.SH NAME
bbcode \- BBCode markup language to HTML tool.
.
.SH SYNOPSIS
.B bbcode [-o
.IB output-file ]
.BI [ input-file ]
.
.SH DESCRIPTION
.B bbcode
takes as input BBCode markup, from a specified
.I input-file
or from standard input, and writes it as HTML code to an
.I output-file
or to
.B stdout.
.P
The HTML output is not a complete HTML document but can be placed into
a template HTML file.
.P
The HTML output for the
.BR "[align=]" ", " "[left]" ", " "[center]" " and " "[right]"
tags expects CSS style rules to be defined for the
.BR bbcode-left ", " bbcode-center " and " bbcode-right " HTML classes."
.SH OPTIONS
.TP
.B "-h"
Print basic help message.
.TP
.BI "-o " output-file
Specifies the output file.
If not given,
.B bbcode
will write to
.BR stdout .
.
.SH BUGS
As of 18th August 2013
.B bbcode
does not implement all features that is expected from a BBCode
implementation.
Unimplemented features include lists
.RB ( [list] ", " [*] )
and giving the author of a quotation with
.BI [quote= author ].
.P
It has not been thoroughly security audited for untrusted input, and cross-site scripting (XSS) attacks are known to be possible.
.SH AUTHOR
Ivar Trygve Jarlsby <ivar.jarlsby@gmail.com>