-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: account for more citations formats
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
tests/testthat/fixtures/example-square/api/translate-905449-POST.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"translations": [ | ||
{ | ||
"detected_source_language": "EN", | ||
"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">\n<document xmlns=\"http://commonmark.org/xml/1.0\">\n <paragraph>\n <text xml:space=\"preserve\">\n <text xml:space=\"preserve\">Wickham dice bla <\/text>\n <squary>-@wickham+2015#<\/squary>\n <text> y dice otras cosas<\/text>\n <squary>\n <notranslate>^footnote1<\/notranslate>\n <\/squary>\n <text>.<\/text>\n <\/text>\n <softbreak/>\n <text xml:space=\"preserve\">\n <text xml:space=\"preserve\">Bla bla bla <\/text>\n <squary>véase <notranslate>@knuth1984<\/notranslate>, pp. 33-35; también <notranslate>@wickham2015<\/notranslate><\/squary>, <squary>cap. 1<\/squary>\n <text/>\n <\/text>\n <\/paragraph>\n<\/document>\n" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters