aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/sdp.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-07-12 11:56:33 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:15 -0400
commit4a0d1de4f72785f101c5db0006a931972efc4484 (patch)
treec12973b920884eac5954e28b519cf8868d0dbaa1 /src/sdp/sdp.d
parentmake string object_number a property of int o_n (diff)
html flags
Diffstat (limited to 'src/sdp/sdp.d')
-rwxr-xr-xsrc/sdp/sdp.d30
1 files changed, 25 insertions, 5 deletions
diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d
index 8b8703f..0c2c271 100755
--- a/src/sdp/sdp.d
+++ b/src/sdp/sdp.d
@@ -167,13 +167,35 @@ void main(string[] args) {
return opts["epub"];
}
auto html() {
- return opts["html"];
+ bool _is;
+ if (
+ opts["html"]
+ || opts["html-seg"]
+ || opts["html-scroll"]
+ ) {
+ _is = true;
+ } else { _is = false; }
+ return _is;
}
auto html_seg() {
- return opts["html-seg"];
+ bool _is;
+ if (
+ opts["html"]
+ || opts["html-seg"]
+ ) {
+ _is = true;
+ } else { _is = false; }
+ return _is;
}
auto html_scroll() {
- return opts["html-scroll"];
+ bool _is;
+ if (
+ opts["html"]
+ || opts["html-scroll"]
+ ) {
+ _is = true;
+ } else { _is = false; }
+ return _is;
}
auto manifest() {
return opts["manifest"];
@@ -267,8 +289,6 @@ void main(string[] args) {
|| docbook
|| epub
|| html
- || html_seg
- || html_scroll
|| manifest
|| odt
|| pdf