Let $f:[0,1] \to [0,1]$ be a function with the property that for every dense $D \subset [0,1]$, $f(D)$ is dense in $f([0,1])$. We can note that $f$ need not be continuous. For instance, consider $f(x)=\left|\sin \ \left(\frac{1}{x-1/2}\right)\right|$ with $f(1/2)=0$.
Is there a nowhere continuous example? If not, how large must the continuity set of such functions be?