summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--trivium.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/trivium.rb b/trivium.rb
index 5d119f3..f233cc7 100644
--- a/trivium.rb
+++ b/trivium.rb
@@ -62,6 +62,7 @@ class Dots < String
       case name
       when "link"
         title, desc = body.split("|", 2)
+        warn "forgot link: #{title.strip}"  if args.strip.empty?
         %{<p class="link"><span><a href="#{CGI.escapeHTML(args.strip)}">#{
           title.strip}</a>#{SpanBlueCloth.new(desc.to_s).to_html}</span></p>}
       when "quote"