mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
improve UX remove username said if we have a title
This commit is contained in:
@ -13,7 +13,7 @@ describe PrettyText do
|
||||
topic = Fabricate(:topic, title: "this is a test topic")
|
||||
expected = <<HTML
|
||||
<aside class="quote" data-post="2" data-topic="#{topic.id}"><div class="title">
|
||||
<div class="quote-controls"></div>EvilTrout: <a href="http://test.localhost/t/this-is-a-test-topic/#{topic.id}/2">This is a test topic</a>
|
||||
<div class="quote-controls"></div><a href="http://test.localhost/t/this-is-a-test-topic/#{topic.id}/2">This is a test topic</a>
|
||||
</div>
|
||||
<blockquote><p>ddd</p></blockquote></aside>
|
||||
HTML
|
||||
|
Reference in New Issue
Block a user