Hi!
this library is very helpful in creating short descriptions from posts. However there are few corner-cases, one of them is that we have some special meaning sort of entities such as #hash_tags and @m_e_n_t_i_o_n_s. They are pre-processed into valid MD before rendered as MD. However when we use Strip to remove markdown from raw content, it might become broken, for example:
in:
#one #two #three #four #five_six_seven_eight #nine_ten_eleven #twelve
out:
#one #two #three #four #fivesixseveneight #nineten_eleven #twelve
Would be great to be able to exclude them, for instance to provide a list of regexps that will "mark" some blocks as "excluded".
Hi!
this library is very helpful in creating short descriptions from posts. However there are few corner-cases, one of them is that we have some special meaning sort of entities such as
#hash_tagsand@m_e_n_t_i_o_n_s. They are pre-processed into valid MD before rendered as MD. However when we useStripto remove markdown from raw content, it might become broken, for example:in:
out:
Would be great to be able to exclude them, for instance to provide a list of regexps that will "mark" some blocks as "excluded".