# Reply as Linked Topic with multiple quotes does not work properly

**URL:** https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468
**Category:** Bug
**Created:** [February 21, 2015, 4:09am UTC](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468 "2015-02-21T04:09:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JazzyJosh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jazzyjosh/32/122515_2.png) [@JazzyJosh](https://meta.discourse.org/u/JazzyJosh)
#### Post date: [February 21, 2015, 4:09am UTC](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468/1 "2015-02-21T04:09:42Z")

</div>

[Login to your account - What the Daily WTF?](http://what.thedailywtf.com/t/discocode/8317)

Distilled below:

Reply as linked topic post contents:

```plaintext
[quote="immibis_, post:141, topic:8178"]
[quote="JazzyJosh, post:123, topic:8178"]

There's no reason to write
[code]if (string != null && !string.isEmpty())[/code]

when you can just write

[code]if (!string.isNullOrEmpty())[/code]

if you don't actually need to differentiate between a null result and an empty result. Of course null and empty aren't the same, but if you don't care, then it doesn't matter.

Basically:

[/quote]

But, under what circumstances is that actually the right thing to do?
[/quote]
```

Actual post whose contents were quoted

[code]

> [@JazzyJosh](#):
>
> There’s no reason to write
> 
> ```plaintext
> if (string != null && !string.isEmpty())
> ```
> 
> when you can just write
> 
> ```plaintext
> if (!string.isNullOrEmpty())
> ```
> 
> if you don’t actually need to differentiate between a null result and an empty result. Of course null and empty aren’t the same, but if you don’t care, then it doesn’t matter.
> 
> Basically:
> 
> > [@boomzilla](#):
> >
> > This stuff almost always seems overblown to me. How often is it really important to differentiate between null and an empty string?

But, under what circumstances is that actually the right thing to do?  
[/code]:

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 21, 2015, 5:53am UTC](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468/2 "2015-02-21T05:53:52Z")

</div>

Manually nesting quotes (there is no way to generate a nested quote using the built in quoting mechanism, and this is by design) is officially unsupported; use at your own risk.

Workaround is to manually edit, same way the nested quote was produced.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 21, 2015, 5:53am UTC](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468/3 "2015-02-21T05:53:57Z")

</div>


