-
Notifications
You must be signed in to change notification settings - Fork 93
Remove 'o' as a bullet point pattern #75
Copy link
Copy link
Open
Description
Hi,
Would you consider removing 'o' as a bullet point pattern? 'o' in Portuguese ' is equivalent to the definite article 'the', which results in unintended output:
/-------------------------------------------------------------------------------------\
|Coloque um fio de azeite na frigideira. |
|Se quiser, salpique um pouquinho de farinha de trigo – isso ajuda o ovo a não grudar.|
|Deixe aquecer. |
\-------------------------------------------------------------------------------------/
|
v
/------------------------------------------\
|Quebre o ovo na figideira. |
|Salpique uma pitada de sal por todo o ovo.|
\------------------------------------------/
|
v
/----------------------------------------------------------------\
|Mantenha em fogo baixo até a clara estar rendada e a gema, mole.|
|Retire o ovo da frigideira e sirva. |
\----------------------------------------------------------------/
As far as I can tell it would be necessary to change line 913 of src/java/org/stathissideris/ascii2image/text/TextGrid.java:
ditaa/src/java/org/stathissideris/ascii2image/text/TextGrid.java
Lines 911 to 919 in f2286c4
| public boolean isBullet(Cell cell){ | |
| char c = get(cell); | |
| if((c == 'o' || c == '*') | |
| && isBlank(cell.getEast()) | |
| && isBlank(cell.getWest()) | |
| && Character.isLetterOrDigit(get(cell.getEast().getEast())) ) | |
| return true; | |
| return false; | |
| } |
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
