summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-03 22:28:54 +0700
committerShulhan <ms@kilabit.info>2022-08-03 22:28:54 +0700
commit9436c1361bb3bf3951fe0b14720cb68fcd1a4aaa (patch)
tree936b366208bd053ca909e3a7bec9bbcdee6aa72e
parentec98ea095fa85b5a4b64bd7ad37414c30d14310e (diff)
downloadpakakeh.go-9436c1361bb3bf3951fe0b14720cb68fcd1a4aaa.tar.xz
lib/strings: update comment format on CleanWikiMarkup
-rw-r--r--lib/strings/string.go23
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/strings/string.go b/lib/strings/string.go
index ecf934c8..8155a974 100644
--- a/lib/strings/string.go
+++ b/lib/strings/string.go
@@ -74,17 +74,18 @@ func CleanURI(text string) string {
// CleanWikiMarkup remove wiki markup from text.
//
-// List of known wiki markups,
-// - [[Category: ... ]]
-// - [[:Category: ... ]]
-// - [[File: ... ]]
-// - [[Help: ... ]]
-// - [[Image: ... ]]
-// - [[Special: ... ]]
-// - [[Wikipedia: ... ]]
-// - {{DEFAULTSORT: ... }}
-// - {{Template: ... }}
-// - <ref ... />
+// List of known wiki markups,
+//
+// - [[Category: ... ]]
+// - [[:Category: ... ]]
+// - [[File: ... ]]
+// - [[Help: ... ]]
+// - [[Image: ... ]]
+// - [[Special: ... ]]
+// - [[Wikipedia: ... ]]
+// - {{DEFAULTSORT: ... }}
+// - {{Template: ... }}
+// - <ref ... />
func CleanWikiMarkup(text string) string {
ctext := []rune(text)