mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
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.