Comments (4)
The problem is that the '[' in the code is matching with the ']' in the code
end tag. Generally this doesn't occur, because in most code every '[' has a
corresponding ']'.
I'll think about an alternative solution for allowing square brackets inside
code tags, in the meantime you can escape square brackets by enclosing them in
a second set of square brackets. i.e. replace '[' with '[[]'
Original comment by willmcgugan
on 4 Jan 2011 at 3:54
- Changed state: Accepted
from postmarkup.
Thanks for the reply :)
Original comment by [email protected]
on 4 Jan 2011 at 4:06
from postmarkup.
Just pushed a change that makes negates the need to escape square brackets in
the code tag. Seems to work with your example.
Original comment by willmcgugan
on 4 Jan 2011 at 6:49
- Changed state: Fixed
from postmarkup.
Thanks. I test and it seems all worked fine.
Thank you for library and for your work! :)
Original comment by [email protected]
on 4 Jan 2011 at 7:35
from postmarkup.
Related Issues (20)
- Do not insert <br> within <pre> tag HOT 4
- Adding table tags HOT 5
- Improve right alignment tag HOT 3
- [url] inside [code] HOT 6
- FEATURE: isolate the HTML from the tag generation logic HOT 3
- Make postmarkup support python3 HOT 2
- URL escaping bugs HOT 4
- Suggestion: Relative URL option HOT 1
- Cleaning tags with spaces HOT 5
- Big performance problem HOT 3
- Support local links HOT 4
- Let's develop at github? HOT 1
- phpBB style tags? HOT 3
- Unnecessary extra tags HOT 1
- OrderedListTag not in __all__ HOT 1
- Graceful handling of invalid [img] URLs / schemas HOT 3
- \n in code tag HOT 1
- 1.2.1 release made in secret? HOT 4
- cirilic url bug
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 postmarkup.