smacademic / project-bdf

project-bdf created by GitHub Classroom
2 stars 0 forks source link

organize function that escaped special characters #77

Closed calebeda closed 5 years ago

calebeda commented 5 years ago

I broke the previous version of escapeMarkdown() into separate functions. One of the two functions is escapeEscapeSequence() that will avoid performing an "escape sequence" within the image transcription. The other function is escapeMarkdown() which will now only escape special characters specifically in the Markdown syntax. I also renamed some variables that I had previously created and changed what the variable "result" was in the function processMention()

calebeda commented 5 years ago

Function escapeEscapeSequence() might be wrong