09 Apr 2022 9:40 AM:
Unfortunately you are correct in as much as rental income is taxable in both countries. Following UK leaving EU you can no longer deduct expenses from the revenue figures in Spain. However although you must declare your income to HMRC you are able to deduct tax paid in Spain as well as expenses. You will attract tax on the net figure.
hope that helps.
Thread:
Spanish taxes and British taxes
--------------------------------------