daniellmb / markdownsharp

Automatically exported from code.google.com/p/markdownsharp
1 stars 0 forks source link

Added target="_blank" support to links #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
v1.12, VS2008 Professional on Server 2008 64-bit.

Please provide any additional information below.
I had a requirement to allow users to specify target="_blank" on links, and
noticed this functionality used to be part of MarkdownSharp.  I have added
it back in again.

Note, when running the tests, some tests (e.g. code-inside-list) produce
different output to what's expected.  Having said that, I re-ran the tests
with the downloaded v1.12 source and got the same results!

Have attached a .patch file.

Original issue reported on code.google.com by paulsu...@gmail.com on 8 Mar 2010 at 11:34

Attachments:

GoogleCodeExporter commented 9 years ago
I think this might be a little too specialized to accept into the main, 
particularly as 
target="" is deprecated HTML in everything later than 4.01 loose.

Original comment by wump...@gmail.com on 22 Mar 2010 at 10:55

GoogleCodeExporter commented 9 years ago
Though I think it's too specialized to go into main, I will leave it here in 
case anyone else wants it -- thank you for the code contribution!

Original comment by wump...@gmail.com on 3 Jul 2010 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by wump...@gmail.com on 12 Nov 2010 at 9:02

GoogleCodeExporter commented 9 years ago

Original comment by wump...@gmail.com on 12 Nov 2010 at 9:03

GoogleCodeExporter commented 9 years ago
As per http://www.w3.org/TR/html5-diff/
The target attribute of the a and area elements is no longer deprecated, as it 
is useful in Web applications, e.g. in conjunction with iframe.

Original comment by collinsa...@gmail.com on 23 Aug 2012 at 4:26

GoogleCodeExporter commented 9 years ago
I am also looking for this functionality.  Will be making locally but as always 
would prefer if it was upstream ;)

Original comment by collinsa...@gmail.com on 23 Aug 2012 at 4:47