I've always taken for granted that if $(X, \tau)$ and $(Y, \tau^{'})$ are topological spaces with Borel sigma algebras $\sigma$ and $\sigma^{'}$, repectively, then if $f:X\rightarrow Y$ is continuous, it is Borel measurable. The proof seems straightforward:
Let $Z=\{A \in Y \mid f^{-1}(A) \in \sigma \}. $
Then, by continuity it holds that $\tau^{'} \subseteq Z$, and once can check that $Z$ is a sigma-algebra. Because $Z$ is itself a sigma-algebra, it holds that $\sigma^{'} \subseteq Z$. Therefore, for any Borel measurable set $B \in \sigma^{'}$, $f^{-1}(B) \in \sigma$, so that $f$ is Borel measurable.
However, there seems to be some posts concerned with whether the topology is Hausdorff or not (see https://mathoverflow.net/questions/181752/is-every-continuous-function-measurable and Is every continuous function measurable? )
For the life of me, given the proof above, I cannot see why this would be a concern. Can anybody give me any points of reference here? Thanks!