File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ require (
17
17
github.com/google/go-github/v45 v45.0.0
18
18
github.com/kr/text v0.2.0 // indirect
19
19
github.com/mattn/go-runewidth v0.0.13 // indirect
20
+ github.com/writeas/go-strip-markdown v2.0.1+incompatible // indirect
20
21
golang.org/x/oauth2 v0.0.0-20220524215830-622c5d57e401
21
22
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 // indirect
22
23
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
Original file line number Diff line number Diff line change @@ -258,6 +258,8 @@ github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljT
258
258
github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M =
259
259
github.com/urfave/cli/v2 v2.3.0 /go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI =
260
260
github.com/willf/bitset v1.1.10 /go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4 =
261
+ github.com/writeas/go-strip-markdown v2.0.1+incompatible h1:IIqxTM5Jr7RzhigcL6FkrCNfXkvbR+Nbu1ls48pXYcw =
262
+ github.com/writeas/go-strip-markdown v2.0.1+incompatible /go.mod h1:Rsyu10ZhbEK9pXdk8V6MVnZmTzRG0alMNLMwa0J01fE =
261
263
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 /go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q =
262
264
github.com/yuin/goldmark v1.1.25 /go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74 =
263
265
github.com/yuin/goldmark v1.1.27 /go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74 =
Original file line number Diff line number Diff line change 6
6
"os"
7
7
8
8
"github.com/google/go-github/v45/github"
9
+ stripmd "github.com/writeas/go-strip-markdown"
9
10
"golang.org/x/oauth2"
10
11
)
11
12
@@ -110,7 +111,7 @@ func getQuestions(repos []string) ([]Repo, error) {
110
111
ent .Author = * issue .GetUser ().Login
111
112
}
112
113
if issue .Body != nil {
113
- ent .Body = * issue .Body
114
+ ent .Body = stripmd . Strip ( * issue .Body )
114
115
}
115
116
repo .Issues = append (repo .Issues , ent )
116
117
}
You can’t perform that action at this time.
0 commit comments