We have a problem editing texts with the % sign.
Texts with this sign inside cannot be changed. After saving, the text disappears and is not displayed on the site.
Please help solve the problem.
Text example:

We have a problem editing texts with the % sign.
Texts with this sign inside cannot be changed. After saving, the text disappears and is not displayed on the site.
Please help solve the problem.
Text example:

The % when used inside href= is an escape character to display a charater using a number value. So %{ is not % followed by a number.
try changing the % to %25
See: Pass a percent (%) sign in a url and get exact value of it using php
Thanks! But the problem is not solved this way. In this case, it turns out to save the changes, but unfortunately the link does not work…
What are you trying to accomplish? Do you want to change the value of the link’s href?
@simon No, we need to edit some texts on the site, but we cannot do this. Texts with % inside cannot be changed. After saving, the text disappears and it is not displayed on the site.
For example, we cannot change this text:

But, when we delete % from this text, changes are saved perfectly.
@simon Уou can watch the video Dropbox - Error - Simplify your life
The first part of that text (## [Welcome to %{title}](#welcome)) is markdown that creates an h2 element with a link. The link’s href is set to “#welcome”. The %{title} tag is a placeholder that is used by Discourse to substitute your site’s title into the text.
It should be possible to customize this text, but you need to be sure you are using valid markdown. For example, this works:
## [Welcome to My Demo Site](#welcome)
An account is required. Please create an account or log in to continue.
This also works, it removes the link from the h2 element:
## Welcome to My Demo Site
An account is required. Please create an account or log in to continue.
@simon Yes, I know about this possibility, thanks. But we need to translate several hundred texts and this is a big problem ![]()
Thanks for posting the video. I’m finding a similar issue on my development site.
Clicking the edit button for either of the blank entries shows an empty textarea.
Clicking the Revert Changes button reverts back to the default text, but only the first line of text is displayed in the textarea.
After refreshing the page, the full default text content is displayed.
Yes, thanks, I know how to return the original text, but I need to make changes to it and cannot do that…
Thanks for your post. But the problem is not in returning the original text, but in making changes to it. Please watch my video above.
이 주제를 Contribute > Bug 카테고리로 이동했습니다. 호스팅된 Discourse 사이트에서 발견한 바에 따르면, 플레이스홀더를 포함하는 텍스트 내용을 편집하면 편집된 텍스트가 TranslationOverride 테이블에 저장됩니다. 해당 텍스트는 사이트 UI에 표시됩니다. 예를 들어, login_required.welcome_message 텍스트를 편집하면 로그인 페이지에서 편집한 텍스트가 사용됩니다.
문제는 편집된 텍스트가 Admin / Customize / Text 목록에서 일관되게 표시되지 않고, 텍스트 편집 페이지에서는 아예 표시되지 않는다는 것입니다:
‘Only show overridden’ 체크박스를 선택하거나 특정 번역 키를 검색하면 편집된 텍스트가 표시됩니다:
텍스트의 편집 버튼을 클릭하면 빈 텍스트 영역이 표시됩니다:
수정: 이는 @tshenry가 링크한 문제(https://meta.discourse.org/t/changing-systems-welcome-message/128572/3)와 중복되는 것 같습니다. 제가 발견한 차이는 6단계에서 되돌리기 버튼을 클릭하면 최근 편집된 텍스트가 아니라 기본 텍스트로 되돌아간다는 점입니다. 이 문제는 플레이스홀더가 포함된 문자열에서만 발생하는 것 같습니다. 당분간 이 주제를 중복으로 닫겠습니다.