Stock markets stable after Middle East attacks