summaryrefslogtreecommitdiffstats
path: root/tinydns-view-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tinydns-view-html.lsp')
-rw-r--r--tinydns-view-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinydns-view-html.lsp b/tinydns-view-html.lsp
index e851569..b163ce5 100644
--- a/tinydns-view-html.lsp
+++ b/tinydns-view-html.lsp
@@ -51,7 +51,7 @@ io.write("</span>")
%>
<H1>DNS Entries
-<% if view.filename then io.write(" for "..view.filename) end %>
+<% if view.filename then io.write(" for "..string.gsub(view.filename, "^.*/", "")) end %>
</H1>
<H2>Locations</H2>
<DL id="locations">