summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Prelude.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-04-01 15:24:30 +0200
committerYorhel <git@yorhel.nl>2020-04-01 15:24:32 +0200
commitf6f558fe867d1004c08a862ca5b6d0b9c5a9bb5e (patch)
treedc800ba5c7a29439d34a8cf91865e6e9e704dcfd /lib/VNWeb/Prelude.pm
parentd8220276102d223e699898328c625cac63e39b1b (diff)
VN::Graph: Also generate VN graphs on-demand
Same change as with Producers::Graph before. This also adds an option to show/hide unofficial relations. Restructured the code a bit to allow for sharing code between Producers::Graph and VN::Graph.
Diffstat (limited to 'lib/VNWeb/Prelude.pm')
-rw-r--r--lib/VNWeb/Prelude.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNWeb/Prelude.pm b/lib/VNWeb/Prelude.pm
index 0a596bf6..e504d8e7 100644
--- a/lib/VNWeb/Prelude.pm
+++ b/lib/VNWeb/Prelude.pm
@@ -4,7 +4,7 @@
# use warnings;
# use utf8;
#
-# use TUWF ':html5_', 'mkclass', 'xml_string';
+# use TUWF ':html5_', 'mkclass', 'xml_string', 'xml_escape';
# use Exporter 'import';
# use Time::HiRes 'time';
# use List::Util 'min', 'max', 'sum';
@@ -48,7 +48,7 @@ sub import {
die $@ if !eval <<" EOM;";
package $c;
- use TUWF ':html5_', 'mkclass', 'xml_string';
+ use TUWF ':html5_', 'mkclass', 'xml_string', 'xml_escape';
use Exporter 'import';
use Time::HiRes 'time';
use List::Util 'min', 'max', 'sum';