How i can use balise code for non interpretation a code in a comment ? #4370

Closed
opened 2025-11-02 05:48:26 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @ZerooCool on GitHub (Nov 22, 2019).

How i can use balise code for non interpretation a code in a gitea comment ?

Bad :
RewriteCond %{HTTP_REFERER} !^https?://.(bit|translate|paypal|google|bing|yahoo|yandex|baidu|facebook|qwant|duck|ixquick|pinterest|twitter).$ [NC]

Dans mon cas, ETOILE ( ASTERIX ) ne s'affiche pas.

Good, with ETOILE ( ASTERIX ) :
RewriteCond %{HTTP_REFERER} !^https?://.ETOILE(bit|translate|paypal|google|bing|yahoo|yandex|baidu|facebook|qwant|duck|ixquick|pinterest|twitter).ETOILE$ [NC]

Originally created by @ZerooCool on GitHub (Nov 22, 2019). How i can use balise code for non interpretation a code in a gitea comment ? Bad : RewriteCond %{HTTP_REFERER} !^https?://.*(bit|translate|paypal|google|bing|yahoo|yandex|baidu|facebook|qwant|duck|ixquick|pinterest|twitter).*$ [NC] Dans mon cas, ETOILE ( ASTERIX ) ne s'affiche pas. Good, with ETOILE ( ASTERIX ) : RewriteCond %{HTTP_REFERER} !^https?://.ETOILE(bit|translate|paypal|google|bing|yahoo|yandex|baidu|facebook|qwant|duck|ixquick|pinterest|twitter).ETOILE$ [NC]
GiteaMirror added the type/question label 2025-11-02 05:48:26 -06:00
Author
Owner

@guillep2k commented on GitHub (Nov 22, 2019):

Do you need help with Gitea or with Apache?

In a comment in Gitea you can use back ticks to escape characters:

image

Or triple back ticks to enclose a longer text:

image

@guillep2k commented on GitHub (Nov 22, 2019): Do you need help with Gitea or with Apache? In a comment in Gitea you can use back ticks to escape characters: ![image](https://user-images.githubusercontent.com/18600385/69390073-cce9bd00-0cac-11ea-87e4-daa99ef3782f.png) Or triple back ticks to enclose a longer text: ![image](https://user-images.githubusercontent.com/18600385/69390093-decb6000-0cac-11ea-805a-42218e8b23a3.png)
Author
Owner

@ZerooCool commented on GitHub (Nov 23, 2019):

Resolved !

It would be nice to integrate a text editor.

@ZerooCool commented on GitHub (Nov 23, 2019): Resolved ! It would be nice to integrate a text editor.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4370