Encapsulate helpers constants and functions inside it's own Helpers module (#5639)

It encapsulates all related code from helpers.cr into it's own module.
This commit is contained in:
Fijxu authored and GitHub committed 2026-04-25 16:57:33 -04:00
1 parent bc64cd9b67
commit 73c749f13f
14 files changed
+159 -155

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ module Invidious::Comments
end
content_html = html_content || ""
json.field "content", html_to_content(content_html)
json.field "content", Helpers.html_to_content(content_html)
json.field "contentHtml", content_html
if published_text != nil