Skip to content
Unverified Commit a06afded authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fix extraction of Japanese booking.com reservations

Summary:
Booking.com's emails have several quirks when done with Japanese hotels:

1. There is no indication of the country
2. The address contains the hotel name twice: once Romanized, once in
   Japanese
3. The address has two fields (one Romanized, one Japanese)
4. The order of the Japanese addresses is different

This is somewhat a hack, but the booking.com emails are not structured
enough to extract the information.

Test Plan:
Tested a Japanese reservation HTML from booking.com, worked. Tested a
non-Japanese reservation from booking.com, worked.

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D26258
parent 187c2d0d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment