Skip to content

Commit

Permalink
Add ids to comments, should be good?
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansalamon committed Jul 11, 2023
1 parent f6a7b48 commit 8ee8ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/haj/responsibilities/comment.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Haj.Responsibilities.Comment do
end

defp gen_html_text(%{valid?: true, changes: %{text: text}} = changeset) do
put_change(changeset, :text_html, Haj.Markdown.to_html!(text))
put_change(changeset, :text_html, Haj.Markdown.to_html!(text, with_ids: true))
end

defp gen_html_text(changeset), do: changeset
Expand Down

0 comments on commit 8ee8ad8

Please sign in to comment.