Skip to content

Commit

Permalink
Addressing CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ahejlsberg committed Dec 19, 2015
1 parent 58e869d commit e93df41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 245 deletions.
245 changes: 0 additions & 245 deletions scripts/word2md.js

This file was deleted.

4 changes: 4 additions & 0 deletions scripts/word2md.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ function convertDocumentToMarkdown(doc: Word.Document): string {

text = trimEndFormattingMarks(text);
if (text === "/") {
// An inline image shows up in the text as a "/". When we see a paragraph
// consisting of nothing but "/", we check to see if the paragraph contains
// hidden text and, if so, emit that instead. The hidden text is assumed to
// contain an appropriate markdown image link.
range.textRetrievalMode.includeHiddenText = true;
var fullText = range.text;
range.textRetrievalMode.includeHiddenText = false;
Expand Down

0 comments on commit e93df41

Please sign in to comment.