Allow underscores for status-tags (#3286)

This commit is contained in:
Ibrahem Khalil 2023-03-14 17:31:15 +02:00 committed by GitHub
parent 5d81866957
commit cd96f557f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
0.138.1
0.138.2

2
go.mod
View File

@ -48,7 +48,7 @@ require (
github.com/prometheus/client_golang v1.14.0
github.com/russolsen/transit v0.0.0-20180705123435-0794b4c4505a
github.com/status-im/doubleratchet v3.0.0+incompatible
github.com/status-im/markdown v0.0.0-20221220095528-8f1babe09d1e
github.com/status-im/markdown v0.0.0-20230314100416-26c6f74522d5
github.com/status-im/migrate/v4 v4.6.2-status.2
github.com/status-im/rendezvous v1.3.6
github.com/status-im/status-go/extkeys v1.1.2

4
go.sum
View File

@ -1996,8 +1996,8 @@ github.com/status-im/gomoji v1.1.3-0.20220213022530-e5ac4a8732d4/go.mod h1:hmpnZ
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 h1:Oo2KZNP70KE0+IUJSidPj/BFS/RXNHmKIJOdckzml2E=
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
github.com/status-im/markdown v0.0.0-20221220095528-8f1babe09d1e h1:XYd/yywsmvYsRh6p8I+sRmpq9/MJAiFXsPwUe0ZPxGA=
github.com/status-im/markdown v0.0.0-20221220095528-8f1babe09d1e/go.mod h1:5rjPyv3KffPNVbFjnsVy0NGj9+JeW40WvXLdxH1VKuE=
github.com/status-im/markdown v0.0.0-20230314100416-26c6f74522d5 h1:Mie/nQtRrI/+qqyV4j5ydesjoPh6v6KF583NOPLKFQY=
github.com/status-im/markdown v0.0.0-20230314100416-26c6f74522d5/go.mod h1:5rjPyv3KffPNVbFjnsVy0NGj9+JeW40WvXLdxH1VKuE=
github.com/status-im/migrate/v4 v4.6.2-status.2 h1:SdC+sMDl/aI7vUlwD2qj2p7KsK4T60IS9z4/rYCCbI8=
github.com/status-im/migrate/v4 v4.6.2-status.2/go.mod h1:c/kc90n47GZu/58nnz1OMLTf7uE4Da4gZP5qmU+A/v8=
github.com/status-im/rendezvous v1.3.6 h1:iZTmTjNjy0aHtwpr+qoqZfDcwHDlxp/JMh3AOCi3gnc=

View File

@ -692,7 +692,7 @@ func isNum(c byte) bool {
}
func isValidStatusTagChar(c byte) bool {
return isNum(c) || isLowerCaseLetter(c) || c == '-'
return isNum(c) || isLowerCaseLetter(c) || c == '-' || c == '_'
}
func isValidTerminatingMentionChar(c byte) bool {

2
vendor/modules.txt vendored
View File

@ -884,7 +884,7 @@ github.com/status-im/go-multiaddr-ethv4
# github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969
## explicit
github.com/status-im/keycard-go/derivationpath
# github.com/status-im/markdown v0.0.0-20221220095528-8f1babe09d1e
# github.com/status-im/markdown v0.0.0-20230314100416-26c6f74522d5
## explicit; go 1.12
github.com/status-im/markdown
github.com/status-im/markdown/ast