Fragmentor.Utils (fragmentor v0.3.0)

Contains util functions for sanitizing markdown and html strings

Link to this section Summary

Functions

Add html target="_blank" on links being parsed

Removes html hr tag class values

Removes html double quotes after being parsed

Link to this section Functions

Link to this function

add_target_blank_on_links(html_content)

@spec add_target_blank_on_links(binary()) :: binary()

Add html target="_blank" on links being parsed

Link to this function

remove_hr_inner_class(html_content)

@spec remove_hr_inner_class(binary()) :: binary()

Removes html hr tag class values

Link to this function

sanitize_html_initial_double_quotes(html_content)

@spec sanitize_html_initial_double_quotes(binary()) :: binary()

Removes html double quotes after being parsed