• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A Markdown shard for the Crystal programming language


Commit MetaInfo

Revisiónd548a69d401dedf9989ee17f29e801b30ac11ee8 (tree)
Tiempo2023-12-07 13:36:33
AutorMio <supercell@nore...>
CommiterMio

Log Message

Merge pull request 'Fixed issues with paren and autolink' (#3) from solvin/luce:master into master

Reviewed-on: https://codeberg.org/supercell/luce/pulls/3

Cambiar Resumen

Diferencia incremental

--- a/src/extern/dart_uri.cr
+++ b/src/extern/dart_uri.cr
@@ -62,7 +62,7 @@ class DartURI
6262 # method
6363 # ([src](https://github.com/dart-lang/sdk/blob/2.14.0-371.0.dev/sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart#L875)).
6464 def self.encode_full(uri : String) : String
65- uri_encode(ENCODE_FULL_TABLE, uri, "utf8", false)
65+ uri_encode(ENCODE_FULL_TABLE, uri, "UTF-8", false)
6666 end
6767
6868 # Encode the string *component* using percent-encoding to make it
@@ -84,7 +84,7 @@ class DartURI
8484 # puts encoded # => http%3A%2F%2Fexample.com%2Fsearch%3DCrystal
8585 # ```
8686 def self.encode_component(component : String) : String
87- uri_encode(UNRESERVED_2396_TABLE, component, "utf8", false)
87+ uri_encode(UNRESERVED_2396_TABLE, component, "UTF-8", false)
8888 end
8989
9090 private def self.uri_encode(canonical_table : Array(Int32), text : String, encoding : String, space_to_plus : Bool) : String