Okay so the のほうが / より combo is to my understanding used to say something is more than or less than in Japanese and if you add の to the short form version of a verb it the expresses the idea of doing that verb. If I wanted to say I like doing something more than doing something else would combining these two together be the correct way to say this? If so, how would this be written? I have two different ideas about how it would be written, but I'm not really too sure on either so I'll leave them in examples below.
ex1. ぼくは およぐののほうが さんぽするより すきです
ex2. ぼくは およぐのほうが さんぽするより すきです
As you probably noted immediately the only real difference between the two is the double の. Since they both use の I'm unsure if I would put two in like example one or merge them together. Other than that I've really only seen examples of the のほうが / より combo with nouns so I'm not too sure if this is even the proper way using verbs.