Skip to content

Instantly share code, notes, and snippets.

@jjarava
jjarava / Marky-bug-report.md
Last active August 29, 2015 14:12
Bug Report - Marky Choking in & characters in HTML fragments

Bug Report - Marky Choking in & characters in HTML fragments

Summary

When Marky is fed an HTML fragment that includes the & (ampersand) char, it will choke/stop processing.

Bug Details

While testing my @workflowhq workflow [Emulate Drafts Web Capture Keeping Links][1], I noticed that if the clipboard has an "&" char, the MMD output I get is truncated there. Further testing validated that if the html fragment that is fed to Marky via the "HTML" option (http://heckyesmarkdown.com/go/?html={fragment}&read=1&md=1) contains an ampersand processing stops there.

Test Case

@jjarava
jjarava / Chrome-DevTools-Net-Export-All-Session-2015-02-12_17-56-56.jpg
Last active April 19, 2024 16:50
How to *record* web Sessions for later analysis
Chrome-DevTools-Net-Export-All-Session-2015-02-12_17-56-56.jpg
@jjarava
jjarava / mdless-sample-test.md
Created September 7, 2015 15:44
Example file for `mdless` issue #2 (https://github.com/ttscoff/mdless/issues/2) - Don't you love the fact you can't add attachments to Issues in GitHub??

Testing mdless sample file:

Here are 4 examples of a code snippet inserted in differente ways.

Snippet 1: - Using triple back quotes and specifying the language (ref: http://brettterpstra.com/2015/08/24/write-better-markdown/#fenced-code-blocks)

<script type="text/javascript">
(function() {
    document.cookie = "COOKIE_NAME=" + encodeURIComponent(Math.random()) + ";path=/;domain=DOMAIN-HERE";
@jjarava
jjarava / keybase.md
Last active November 13, 2022 07:00
Keybase proof

Keybase proof

I hereby claim:

  • I am jjarava on github.
  • I am jjarava (https://keybase.io/jjarava) on keybase.
  • I have a public key ASAEoxKuaoG8uELpI2zx1tiwrh_cHQ0-2a1rqquusi3k1go

To claim this, I am signing this object: