Solve #219 Add utf8 native library support

This commit is contained in:
Insality
2023-05-03 01:05:31 +03:00
parent 7aa2da11f6
commit 7b40af9a33
4 changed files with 8 additions and 4 deletions

View File

@@ -2,8 +2,9 @@
-- Author: Britzl
-- Modified by: Insality
local utf8 = require("druid.system.utf8")
local tags = require("druid.custom.rich_text.rich_text.tags")
local utf8_lua = require("druid.system.utf8")
local utf8 = utf8 or utf8_lua
local M = {}

View File

@@ -4,7 +4,8 @@
local helper = require("druid.helper")
local parser = require("druid.custom.rich_text.rich_text.parse")
local utf8 = require("druid.system.utf8")
local utf8_lua = require("druid.system.utf8")
local utf8 = utf8 or utf8_lua
local M = {}