Module talk:Delink: Difference between revisions

Content deleted Content added
Line 78:
:: --[[User:Zebulon84|Zebulon84]] ([[User talk:Zebulon84|talk]]) 11:46, 24 September 2016 (UTC)
<span class="template-ping">@[[:User:Zebulon84|Zebulon84]]:</span> It worked. Actually I'm writing a template on my wiki. I myself was able to make up the code to achieve the same result but yours is more efficient. I will apply yours now. Thank you so much! [[User:Tran Xuan Hoa|Tran Xuan Hoa]] ([[User talk:Tran Xuan Hoa|talk]]) 13:39, 24 September 2016 (UTC)
 
== Where is this line break coming from? ==
 
I am trying to delink text that starts with a pound sign (#), and I am getting unexpected results.
<pre>
Foo bar {{delink|#SomethingNew}}
 
Biz Baz {{delink|Foo bar #SomethingNew}}
</pre>
 
I am expecting:
<blockquote>
Foo bar #SomethingNew
 
Biz Baz Foo bar #SomethingNew
</blockquote>
 
Actual results:
<blockquote>
Foo bar {{delink|#SomethingNew}}
 
Biz Baz {{delink|Foo bar #SomethingNew}}
</blockquote>
 
In the first example, there is a line break before the pound sign. Where is the extra line break coming from in the first example? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 06:39, 5 January 2020 (UTC)