# Unformatted Code Detector

**URL:** <https://meta.discourse.org/t/unformatted-code-detector/112773>\
**Category:** Theme component\
**Tags:** official, unformatted-code-detector\
**Created:** [March 28, 2019, 4:21am UTC](https://meta.discourse.org/t/unformatted-code-detector/112773 "2019-03-28T04:21:55Z")\
**Posts on this page:** 1\
**Showing post:** 48

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [September 13, 2021, 4:56pm UTC](https://meta.discourse.org/t/unformatted-code-detector/112773/48 "2021-09-13T16:56:02Z")

</div>

> [@tmomas](#):
>
> Just clicking into the warning\_modal.content input field and then moving the cursor by the arrow keys makes the input field highlighted. After clicking the green checkmark to save the “edited” warning\_modal.content (no change at all has been done, just moving the cursor one character), the formatting is broken as shown above.

Thanks for raising this - looks like a core bug with multiline theme translations. I’ve made a PR to fix:

[https://github.com/discourse/discourse/pull/14322](https://github.com/discourse/discourse/pull/14322)

---

_[View the full topic](https://meta.discourse.org/t/unformatted-code-detector/112773)._
