lfortran / lcompilers_frontend

The sources of the web LFortran GUI interface
https://dev.lfortran.org/
MIT License
14 stars 9 forks source link

Fix the code copy functionality in the Ace editor #89

Closed henilp105 closed 1 year ago

henilp105 commented 1 year ago

the AceEditor escapes the code and the copy functionality doesn't unescape the code to restore the code functionality, Due to the security requirements the code rendering escaped the code in the editor is great , but the code copy functionality should unescape the code before copying it to the clipboard.

current: `#include <iostream>

include <string>

include <vector>

include <cassert>

include <cmath>

include <complex>

include <Kokkos_Core.hpp>

include <lfortran_intrinsics.h>

`

resolved in PR: `#include

include

include

include

include

include

include

include

` resolved in PR # 90

Thanks and Regards, Henil Panchal

CC: @certik @Shaikh-Ubaid

henilp105 commented 1 year ago

Closing as fixed by #90