diff options
author | Yorhel <git@yorhel.nl> | 2020-04-01 15:24:30 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-04-01 15:24:32 +0200 |
commit | f6f558fe867d1004c08a862ca5b6d0b9c5a9bb5e (patch) | |
tree | dc800ba5c7a29439d34a8cf91865e6e9e704dcfd /lib/VNWeb/Discussions | |
parent | d8220276102d223e699898328c625cac63e39b1b (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.pm | 2 |
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 |