projects
/
org-sync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a32af80
)
os-github.el: fix list/headline bug.
author
Aurélien Aptel
<k@b0.cx>
Fri, 10 Aug 2012 16:51:39 +0000 (18:51 +0200)
committer
Aurélien Aptel
<k@b0.cx>
Fri, 10 Aug 2012 16:51:39 +0000 (18:51 +0200)
os-github.el
patch
|
blob
|
history
diff --git
a/os-github.el
b/os-github.el
index
13e963d
..
09c7303
100644
(file)
--- a/
os-github.el
+++ b/
os-github.el
@@
-209,8
+209,10
@@
JSON response."
(match-string 1 url)
"<project name>"))
+;; XXX: we need an actual markdown parser here...
(defun os-github-filter-desc (desc)
"Return a filtered description of a GitHub description."
+ (setq desc (replace-regexp-in-string "^\\*" "-" desc))
(replace-regexp-in-string "\\([^ \t\n]\\)[ \t\n]*\\'"
"\\1\n"
(replace-regexp-in-string "\r\n" "\n" desc)))