From 11afaf0a77d56032b6b2cf65c4da555ff2f9c9d5 Mon Sep 17 00:00:00 2001 From: Ryan Wu Date: Wed, 31 Aug 2022 18:49:35 +0800 Subject: [PATCH] Support plus symbol (#67) compatible with plus symbol --- package.json | 2 +- src/utilities.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b9cc402..cba9bca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dcasia/mini-program-tailwind-webpack-plugin", - "version": "1.5.4", + "version": "1.5.6", "description": "让你的小程序用上原汁原味的 Tailwind/Windi CSS", "keywords": [ "mini-program", diff --git a/src/utilities.ts b/src/utilities.ts index 0684e09..8016297 100644 --- a/src/utilities.ts +++ b/src/utilities.ts @@ -33,6 +33,7 @@ const charactersMap = { ',': '-2c-', '%': '-p-', '\'': '-q-', + '+': '-a-', } const specialCharactersMap = {