Krzysztof Kotlarek c934a0f759
FIX: don't error Topic#similar_to when prepared raw is blank (#10711)
If raw contains incorrect URL, `prepare_data` returns empty string:

https://github.com/discourse/discourse/blob/master/lib/search.rb#L91

Therefore we should not only check if the cooked post is not blank but also if prepared data is not blank.
2020-09-22 07:53:12 +10:00
..
2019-10-04 11:11:03 +10:00
2020-09-10 11:34:48 +02:00
2020-07-24 17:19:21 +08:00
2019-12-04 13:33:51 -05:00