aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-03-13 11:48:12 +0000
committers-ol <s-ol@users.noreply.github.com>2020-03-13 11:48:12 +0000
commit64a8b2388641dbe40aedcc75d44b3187e2fa9c9f (patch)
tree103e0a6c3620d91236476f238738736b28480950
parentresearch/alivecoding: fix typo (diff)
downloadmmm-64a8b2388641dbe40aedcc75d44b3187e2fa9c9f.tar.gz
mmm-64a8b2388641dbe40aedcc75d44b3187e2fa9c9f.zip
fix titles ending with n
-rw-r--r--mmm/mmmfs/layout.moon4
1 files changed, 2 insertions, 2 deletions
diff --git a/mmm/mmmfs/layout.moon b/mmm/mmmfs/layout.moon
index 861f8e0..9a33b27 100644
--- a/mmm/mmmfs/layout.moon
+++ b/mmm/mmmfs/layout.moon
@@ -87,8 +87,8 @@ get_meta = =>
title = (@get 'title: text/plain') or @gett 'name: alpha'
l = (str) ->
- str = str\gsub '[%s\\n]+$', ''
- str\gsub '\\n', ' '
+ str = str\gsub '[%s\n]+$', ''
+ str\gsub '\n', ' '
e = (str) -> string.format '%q', l str
meta = "