Comments (4)
I agree, encodeURIComponent
doesn't make sense there. v
isn't being used to construct a URI; it's being used as the value
attribute of an input
element. Likewise with decodeURIComponent
being used for the values on the data
object that's being used for the jQuery request; why would those values be URIs in the first place?
Thanks for reporting.
from jquery-preview.
@brentc Please grab the latest master and let me know if you experience any issues with it.
from jquery-preview.
Sorry, my commit was premature—there's still encoding being done, and it's inconsistent. If you edit a field and then do the embed, you get URI-encoded junk out. Reopening...
from jquery-preview.
OK, I've removed the encodeURIComponent
calls that were in selector.js
as well and everything seems to be working fine. Please pull from master and let me know if there are any problems. Thanks!
from jquery-preview.
Related Issues (10)
- Don't render selector if the link in unsafe. HOT 2
- Safari renders preview but doesn't create the object in the DB HOT 1
- jQuery's 'live' deprecated on >1.7 breaks jquery-preview
- Preview not working? HOT 6
- After closing preview in selector-wrapper it's not possible to enter new preview HOT 2
- Expand keyUp to trigger fetch on enter. HOT 1
- Editable preview HOT 2
- Add ignore rules for autogenerated files HOT 2
- Form submitted when using rails data-remote HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-preview.