First of all, thanks for maintaining this project! It's greatly appreciated.
I maintain the java implementation and was recently made aware of the following case: when Indian address parts contain a city but not a postcode the result will include a trailing slash. So for instance:
I'm not 100% sure what is the correct output here, but I suspect that the trailing slash should be removed in this case. Is that correct? If so, would it make sense to contain a rule in the postformat_replace field for this case or do something like this:
Hi folks,
First of all, thanks for maintaining this project! It's greatly appreciated.
I maintain the java implementation and was recently made aware of the following case: when Indian address parts contain a city but not a postcode the result will include a trailing slash. So for instance:
Will be formatted as this:
I'm not 100% sure what is the correct output here, but I suspect that the trailing slash should be removed in this case. Is that correct? If so, would it make sense to contain a rule in the
postformat_replace
field for this case or do something like this:I've confirmed that this also occurs in at least one other implementation.