These are some readers' responses. Read the full article to see what all the fuss is about.
-
Popular
Categories
- .Net & C# (1)
- Architecture (3)
- C++ (5)
- Coding (4)
- Copyright, etc. (3)
- HTML/CSS (2)
- Java (14)
- JavaScript (6)
- JUnit (3)
- Recommendations (10)
- Risks (8)
- Software projects (2)
- SQL (4)
- Testing (6)
- Tools (5)
- Usability (2)
- Web (5)
- Web publishing (16)
- Windows (1)
- WordPress (27)
372 responses
Other comment pages: « 1 2 3 4 [5] 6 7 8 9 10 11 … 19 »
what kind of code-markup ?
I found a small bug in this. It works great in the main post, but it seems to be failing in the comments. If I create a line that says:
<code allow=”none”><a href=”test.com”>test</a></code>
in my post, I can see the raw text (not hyperlinked), but in the comments, it shows up a link.
The trackback above has a fix that allows <code allow=”none”> in comments
Thanks for your enhancement, Mike! I originally designed Code Markup to work on posts only, but I have long planned to make it work on comments too. Your patch will be in the next version of Code Markup, due out this month, I hope.
Bennett,
As I mentioned in the comment on my site, there is one remaining problem. After adding the filter the way I did, wordpress still applies rel=”nofollow” to links that are within <code> blocks. However, doing a search/replace is not suitable either, since maybe the user put it in.
I have to think about how to prevent this.
Mike, I have been considering changing the way Code Markup works behind the scenes. My proposed change will fix some obscure bugs, including the one you mention. I guess I’ll have to make the change. Good thing I recently wrote a unit test framework for Code Markup with hundreds of regression tests…
This is the 2nd plugin I tried for code-markup. This is better I think. First trial didn’t work because I used single quote such as
, it has to be "none" to work.Other comment pages: « 1 2 3 4 [5] 6 7 8 9 10 11 … 19 »