Zap gremlins in author names.

This commit is contained in:
Jacques Distler 2007-03-04 22:56:52 -06:00
parent 541ef91df4
commit cf525b8bb9
7 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,7 @@
<textarea name="content" id="content" rows="24" cols="60"><%= h(@revision.content.delete("\x01-\x08\x0B\x0C\x0E-\x1F")) %></textarea>
<div id="editFormButtons">
<input type="submit" value="Update" accesskey="u" /> as
<input type="text" name="author" id="authorName" value="<%= @author %>"
<input type="text" name="author" id="authorName" value="<%= h(@author.delete("\x01-\x08\x0B\x0C\x0E-\x1F")) %>"
onclick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
|
<span>