mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: 处理多出的一个括号。(上个版本修改不正确)
This commit is contained in:
parent
f31c7dbe8f
commit
5ca14f224f
@ -1,3 +1,9 @@
|
|||||||
|
## 🌈 v0.1.3 / 2025-02-17
|
||||||
|
|
||||||
|
🐞 Bug Fixes
|
||||||
|
|
||||||
|
- `WXML::Rewrite::RewriteImg`: 输出了多余的右括号。(上个版本修改不正确)
|
||||||
|
|
||||||
## 🌈 v0.1.2 / 2025-02-16
|
## 🌈 v0.1.2 / 2025-02-16
|
||||||
|
|
||||||
🐞 Bug Fixes
|
🐞 Bug Fixes
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
#include "../include/wxml.h"
|
#include "../include/wxml.h"
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
namespace WXML {
|
namespace WXML {
|
||||||
|
|
||||||
@ -301,12 +302,12 @@ namespace WXML {
|
|||||||
{
|
{
|
||||||
std::stringstream v29;
|
std::stringstream v29;
|
||||||
v29 << "url(" << sa << "-do-not-use-local-path-" << a3;
|
v29 << "url(" << sa << "-do-not-use-local-path-" << a3;
|
||||||
v29 << "&" << a4 << "&" << a5;
|
v29 << "&" << a4 << "&" << a5 << ")";
|
||||||
std::string v26 = v29.str();
|
std::string v26 = v29.str();
|
||||||
a2 += v26;
|
a2 += v26;
|
||||||
result = 1;
|
result = 1;
|
||||||
}
|
}
|
||||||
if (++i == v21.size() - 1)
|
if (++i == v21.size())
|
||||||
{
|
{
|
||||||
v17 = 0;
|
v17 = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user