[PATCH] Explain syntax/features in the comments section

Lukas Fleischer lfleischer at archlinux.org
Fri Jan 31 08:28:28 UTC 2020


Addresses FS#64983.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/template/pkg_comment_form.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php
index 3feee8f..e8a516e 100644
--- a/web/template/pkg_comment_form.php
+++ b/web/template/pkg_comment_form.php
@@ -8,6 +8,10 @@
 				<?php endif; ?>
 				<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
 			</div>
+			<p>
+				<?= __("Git commit identifiers referencing commits in the AUR package repository and URLs are converted to links automatically.") ?>
+				<?= __("%sMarkdown syntax%s is partially supported.", '<a href="https://daringfireball.net/projects/markdown/syntax">', "</a>") ?>
+			</p>
 			<p>
 				<textarea id="id_comment" name="comment" cols="80" rows="10"><?= (isset($comment_id)) ? htmlspecialchars($comment) : "" ?></textarea>
 			</p>
-- 
2.25.0


More information about the aur-dev mailing list