diff --git a/changelog.md b/changelog.md index eb21506..57f8d1e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +# v0.1.6 +- fix formatting in note/context/step contents + # v0.1.5 - fix overflow on note/contexts/step contents diff --git a/lib/memex_web/components/context_content.ex b/lib/memex_web/components/context_content.ex index 82dff97..86052e0 100644 --- a/lib/memex_web/components/context_content.ex +++ b/lib/memex_web/components/context_content.ex @@ -12,7 +12,7 @@ defmodule MemexWeb.Components.ContextContent do ~H"""
#{link}

" end ) - |> String.replace("\n", "
") |> HTML.raw() end end diff --git a/lib/memex_web/components/note_content.ex b/lib/memex_web/components/note_content.ex index 8deed63..ea77f50 100644 --- a/lib/memex_web/components/note_content.ex +++ b/lib/memex_web/components/note_content.ex @@ -12,7 +12,7 @@ defmodule MemexWeb.Components.NoteContent do ~H"""

#{link}

" end ) - |> String.replace("\n", "
") |> HTML.raw() end end diff --git a/lib/memex_web/components/step_content.ex b/lib/memex_web/components/step_content.ex index 742ce2c..f1c240f 100644 --- a/lib/memex_web/components/step_content.ex +++ b/lib/memex_web/components/step_content.ex @@ -12,7 +12,7 @@ defmodule MemexWeb.Components.StepContent do ~H"""

#{link}

" end ) - |> String.replace("\n", "
") |> HTML.raw() end end diff --git a/mix.exs b/mix.exs index 4983e30..788534e 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Memex.MixProject do def project do [ app: :memex, - version: "0.1.5", + version: "0.1.6", elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), compilers: Mix.compilers(),