izumi.idealingua.runtime.model.Escaping.scala Maven / Gradle / Ivy
The newest version!
package izumi.idealingua.runtime.model
import scala.scalajs.js.URIUtils
object Escaping {
// TODO: we may need to use a better escaping
def escape(s: String): String = URIUtils.encodeURI(s)
def unescape(s: String): String = URIUtils.decodeURI(s)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy