rumlang / rum

Functional language, easily extensible and possible (Lua features with LISP dialect and functional) to be embarked on software Go!
https://www.rumlang.org/
MIT License
157 stars 13 forks source link

playground: share does not work with line break #118

Closed avelino closed 6 years ago

avelino commented 6 years ago

source:

(package "main"
  (def factorial (n)
    (if (== n 0)
      1
      (* n (factorial (- n 1)))))
  (factorial 10))

github.com/trumae/valente/action generate jquery output invalid:

$('#input').html('(package "main"
  (def factorial (n)
    (if (== n 0)
      1
      (* n (factorial (- n 1)))))
  (factorial 10))');
felipeweb commented 6 years ago

Closed with https://github.com/rumlang/playground/commit/f9b7e67ab580518d6e2338738f5a0e59faee3faf