summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Discussions
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/Discussions
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/Discussions')
-rw-r--r--lib/VNWeb/Discussions/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/Search.pm b/lib/VNWeb/Discussions/Search.pm
index 06366caf..6b56b47b 100644
--- a/lib/VNWeb/Discussions/Search.pm
+++ b/lib/VNWeb/Discussions/Search.pm
@@ -107,7 +107,7 @@ sub posts_ {
td_ class => 'tc4', sub {
div_ class => 'title', sub { a_ href => $link, $l->{title} };
div_ class => 'thread', sub { lit_(
- TUWF::XML::xml_escape($l->{headline})
+ xml_escape($l->{headline})
=~ s/\[raw\]/<b class="standout">/gr
=~ s/\[\/raw\]/<\/b>/gr
=~ s/\[code\]/<b class="grayedout">...<\/b><br \/>/gr