Skip to content

Commit 0a7e1b6

Browse files
authored
fix: incomplete string escaping (#2660)
1 parent 0f5d64b commit 0a7e1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/governance/proposal/ProposalOverview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const ProposalOverview = ({ proposal, loading, error }: ProposalOverviewP
197197
if (!_src) return null;
198198
const src = /^\.\.\//.test(_src)
199199
? _src.replace(
200-
'../',
200+
/^\.\.\//,
201201
'https://raw.githubusercontent.com/aave/aip/main/content/'
202202
)
203203
: _src;

0 commit comments

Comments
 (0)