Add miscellaneous stuff
This commit is contained in:
@ -12,4 +12,10 @@ defmodule OutlookWeb.ViewHelpers do
|
||||
def tidy_raw(whatever) do
|
||||
whatever
|
||||
end
|
||||
|
||||
# TODO: implement (and use) the following function
|
||||
@doc "Strip <a> tags to prevent broken html (or 'breaking') from user input."
|
||||
def strip_links(html) do
|
||||
raise "Yet to be implemented!"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user