diff options
author | href <href@random.sh> | 2021-09-01 10:30:18 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-01 10:30:18 +0200 |
commit | 75687711f35355bc30e4829439384aab28fcac6d (patch) | |
tree | 8f3256f472893c39720a684d390e890a152f7303 /lib/lsg_web.ex | |
parent | link: post_* callbacks; html & pdftitle. (diff) |
Commit all the changes that hasn't been committed + updates.
Diffstat (limited to 'lib/lsg_web.ex')
-rw-r--r-- | lib/lsg_web.ex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/lsg_web.ex b/lib/lsg_web.ex index f5dee6f..113d00d 100644 --- a/lib/lsg_web.ex +++ b/lib/lsg_web.ex @@ -17,6 +17,10 @@ defmodule LSGWeb do and import those modules here. """ + def format_chan("##") do + "♯♯" + end + def format_chan("#") do "♯" end @@ -26,7 +30,10 @@ defmodule LSGWeb do end def reformat_chan("♯") do - "" + "#" + end + def reformat_chan("♯♯") do + "##" end def reformat_chan(chan) do |